git clone https://github.com/username/repo.git
To see the status of files:
git status
To commit changes:
git commit
Config git for a push:
git config --global user.name "username" git config --global user.email "username@users.noreply.github.com"
To see the config:
vi ~/.gitconfig
To undo a git push
(from http://stackoverflow.com/questions/1270514/undoing-a-git-push):
git push -f origin 67..dc:master
No comments:
Post a Comment