Created
February 25, 2010 22:03
-
-
Save franckverrot/315087 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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