Skip to content

Instantly share code, notes, and snippets.

@AVStarikovich
Created October 7, 2016 21:11
Show Gist options
  • Save AVStarikovich/642cfb1ac68baa4a5d00dbee7eb6b0c1 to your computer and use it in GitHub Desktop.
Save AVStarikovich/642cfb1ac68baa4a5d00dbee7eb6b0c1 to your computer and use it in GitHub Desktop.
init () - initialisation git local repository;
add (files needed add) - add files to commit; // git add .
commit (-m) - create commit with added files; -m - message // git commit -m "hi mom, im inside televizor"
remote (add, remove) - command for working with repository // git remote add origin https://github.com/AVStarikovich/bootstrap-test
-v - return remote repository //
push (remote repository and branch) - pushing data remote server // git push -u origin master; -u - save arguments ( git push )
fetch (-f) - download new brantch(s) from remote server; -f (force) -
pull () - upload this branch from remote server;
@AVStarikovich
Copy link
Author

work done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment