Skip to content

Instantly share code, notes, and snippets.

@zzj99
Created April 6, 2016 15:46
Show Gist options
  • Save zzj99/ea371634d1b2639cb0ceb4dae69d1662 to your computer and use it in GitHub Desktop.
Save zzj99/ea371634d1b2639cb0ceb4dae69d1662 to your computer and use it in GitHub Desktop.
git commands

add file

$ git add 'myFile.html'
$ git commit -m 'add myFile.html'
$ git push

delete file/folder

$ git rm 'myFile.html'
$ git commit -m 'remove myFile.html'
$ git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment