Introduction To Git and Terminal
Introduction To Git and Terminal
187.mobility.psu.edu>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly. Run the
following command and follow the instructions in your editor to edit
your configuration file:
git config --global --edit
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
1 file changed, 2 insertions(+)
create mode 100644 first.txt
client-104-39-63-187:512 ale$ vim first.txt
client-104-39-63-187:512 ale$ git commit
On branch master
Changes not staged for commit:
modified: first.txt
no changes added to commit
client-104-39-63-187:512 ale$ git commit -a -m 'second commit'
[master 4ee83ad] second commit
Committer: Adriana Alejandra Lpez Espino <[email protected]>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly. Run the
following command and follow the instructions in your editor to edit
your configuration file:
git config --global --edit
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
1 file changed, 2 insertions(+)
client-104-39-63-187:512 ale$ git log
commit 4ee83ad0295d6dafc143fe7a3db42524a164368b
Author: Adriana Alejandra Lpez Espino <[email protected]>
Date: Wed Aug 31 10:56:53 2016 -0400
second commit
commit 77fa12b98c02a454ce74e36f03c6af16eef92298
Author: Adriana Alejandra Lpez Espino <[email protected]>
total 592
drwxr-xr-x+ 47 ale staff 1598 Aug 31 11:17 .
drwxr-xr-x 6 root admin 204 Apr 6 11:23 ..
-r-------- 1 ale staff
7 Oct 18 2014 .CFUserTextEncoding
-rw-r--r--@ 1 ale staff 28676 Aug 31 10:05 .DS_Store
drwxr-xr-x 3 ale staff 102 Jan 24 2015 .R
-rw-r--r-- 1 ale staff 227 Jan 25 2015 .Rapp.history
-rw-r--r-- 1 ale staff
0 Aug 29 11:35 .Rhistory
drwx------ 13 ale staff 442 Aug 28 01:07 .Trash
drwxr-xr-x 4 ale staff 136 Apr 21 2014 .adobe
-rw------- 1 ale staff 514 Aug 28 01:07 .bash_history
drwxr-xr-x 26 ale staff 884 Aug 31 10:16 .bash_sessions
drwxr-xr-x 3 ale staff 102 Mar 6 2014 .config
drwx------ 3 ale staff 102 Mar 9 2014 .cups
drwx------ 10 ale staff 340 Apr 6 11:44 .dropbox
drwx------ 3 ale staff 102 Jan 24 2015 .emacs.d
-rw-r--r-- 1 ale staff 222 Aug 29 11:41 .julia_history
drwxr-xr-x 5 ale staff 170 Nov 19 2014 .matlab
drwxr-xr-x 3 ale staff 102 Mar 13 19:06 .oracle_jre_usage
drwxr-xr-x 9 ale staff 306 Jun 24 12:54 .qgis2
drwxr-xr-x 12 ale staff 408 Aug 29 11:35 .rstudio-desktop
drwxr-xr-x 5 ale staff 170 Oct 19 2014 .subversion
-rw------- 1 ale staff 1537 Aug 31 11:15 .viminfo
drwxr-xr-x 4 ale staff 136 Aug 31 11:15 512
drwxr-xr-x 5 ale staff 170 Oct 26 2015 Applications
drwx------ 3 ale staff 102 May 19 2015 Box Sync
drwx------+ 5 ale staff 170 Aug 28 01:07 Desktop
drwx------+ 14 ale staff 476 Aug 28 19:58 Documents
drwx------+ 22 ale staff 748 Aug 31 10:06 Downloads
drwx------@ 24 ale staff 816 Aug 27 19:33 Dropbox
drwx------@ 69 ale staff 2346 Apr 6 11:37 Library
drwx------+ 8 ale staff 272 Aug 27 17:58 Movies
drwx------+ 5 ale staff 170 Mar 14 2014 Music
drwx------+ 83 ale staff 2822 Aug 24 12:50 Pictures
drwxr-xr-x+ 6 ale staff 204 Jul 18 19:00 Public
drwxr-xr-x 3 ale staff 102 May 31 2014 Samsung
-rw-r--r-- 1 ale staff 73546 Nov 19 2014 hs_error_pid3817.log
-rw-r--r-- 1 ale staff 76264 Oct 21 2014 hs_error_pid499.log
-rw-r--r-- 1 ale staff 75618 Oct 21 2014 hs_error_pid818.log
-rw-r--r-- 1 ale staff 896 Oct 8 2014 ibt_application.log
-rw-r--r-- 1 ale staff
0 Sep 28 2014 ibtsa.log
-rw-r--r-- 1 ale staff 3254 Dec 24 2014 matlab_crash_dump.2090-1
-rw-r--r-- 1 ale staff 3965 Nov 19 2014 matlab_crash_dump.3817-1
-rw-r--r-- 1 ale staff 3964 Oct 21 2014 matlab_crash_dump.499-1
-rw-r--r-- 1 ale staff 3964 Oct 21 2014 matlab_crash_dump.818-1
drwxr-xr-x 4 ale staff 136 Jan 25 2015 my
-rw-r--r-- 1 ale staff
0 Sep 28 2014 oasys.log
-rw-r--r-- 1 ale staff
0 Sep 28 2014 summary.txt
client-104-39-63-187:~ ale$ cd 512a
-bash: cd: 512a: No such file or directory
client-104-39-63-187:homework ale$