Skip to content

Instantly share code, notes, and snippets.

@trivektor
Created July 4, 2011 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trivektor/1063487 to your computer and use it in GitHub Desktop.
Save trivektor/1063487 to your computer and use it in GitHub Desktop.
Git commands
You can use
git add -u
To add the deleted files to the staging area, then commit them
git commit -m "Deleted files manually"
Delete a branch on Github
git push origin :deleted_branch_name
Rename a branch
git branch -m old_name new_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment