Skip to content

Instantly share code, notes, and snippets.

@jgeewax
Created August 20, 2010 23:26
Show Gist options
  • Save jgeewax/541414 to your computer and use it in GitHub Desktop.
Save jgeewax/541414 to your computer and use it in GitHub Desktop.
(issue-12)jj@im-jj:~/demo$ echo "print 'hi'" >> feature.py
(issue-12)jj@im-jj:~/demo$ git add feature.py
(issue-12)jj@im-jj:~/demo$ git commit -m "Added feature"
[issue-12 765a6c0] Added feature
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 feature.py
(issue-12)jj@im-jj:~/demo$ git rm README.txt
rm 'README.txt'
(issue-12)jj@im-jj:~/demo$ git commit -m "Removed the README file"
[issue-12 e7829cb] Removed the README file
0 files changed, 0 insertions(+), 0 deletions(-)
delete mode 100644 README.txt
(issue-12)jj@im-jj:~/demo$ echo "this is a test file!" >> testfile.txt
(issue-12)jj@im-jj:~/demo$ git add testfile.txt
(issue-12)jj@im-jj:~/demo$ git commit -m "Added testfile.txt"
[issue-12 f9753df] Added testfile.txt
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 testfile.txt
(issue-12)jj@im-jj:~/demo$ echo "print 'hi again'" >> feature.py
(issue-12)jj@im-jj:~/demo$ git add feature.py
(issue-12)jj@im-jj:~/demo$ git commit -m "Updated feature"
[issue-12 4e39fc7] Updated feature
1 files changed, 3 insertions(+), 1 deletions(-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment