diff --git a/Git-commands.txt b/Git-commands.txt new file mode 100644 index 0000000..9c7535d --- /dev/null +++ b/Git-commands.txt @@ -0,0 +1,22 @@ + +Git commands + +1) git init # for initialising the repository + +2) git status # for checking the status + +3) git add # for adding the files + +4) git commit -m "commit name" # commit the changes + +5) git config --global user.email "email" + +6) git config --global user.name "name" + +7) git remote add origin "repository url" # form speciying the remote location + +8) git push -u origin master # to push the changes online + +9) git pull # to pull the changes offline + +10) git clone https://github.com/gujral1997/git_workshop \ No newline at end of file diff --git a/github.pdf b/github.pdf new file mode 100644 index 0000000..64ddc41 Binary files /dev/null and b/github.pdf differ diff --git a/hello_world.cpp b/hello_world.cpp index 1897fb7..219f2df 100644 --- a/hello_world.cpp +++ b/hello_world.cpp @@ -6,6 +6,7 @@ int main() { cout<< "Hello Github,"; cout<< "Ansh!"; + cout<<"abhishek maira"; return 0; } diff --git a/progit.pdf b/progit.pdf new file mode 100644 index 0000000..ebf2730 Binary files /dev/null and b/progit.pdf differ