Skip to content

Instantly share code, notes, and snippets.

@franckverrot
Created February 25, 2010 22:03
Show Gist options
  • Save franckverrot/315087 to your computer and use it in GitHub Desktop.
Save franckverrot/315087 to your computer and use it in GitHub Desktop.
<cesario@w:~/myapp> (git)-[master]-% mkdir bin
<cesario@w:~/myapp> (git)-[master]-% git add bin
<cesario@w:~/myapp> (git)-[master]-% cp /path/to/your/bin/mybin bin/
<cesario@w:~/myapp> (git)-[master]-% git add bin/mybin
<cesario@w:~/myapp> (git)-[master]-% git status
~/myapp/
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# new file: bin/mybin
<cesario@w:~/myapp> (git)-[master]-% chmod 755 bin/mybin
<cesario@w:~/myapp> (git)-[master]-% git commit -m "added my binary and chmod it properly"
[master b800a0d] added my binary and chmod it properly
1 files changed, 0 insertions(+), 0 deletions(-)
create mode 100755 bin/mybin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment