Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons...
-
Upload
priscilla-baldwin -
Category
Documents
-
view
214 -
download
0
Transcript of Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons...
![Page 1: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/1.jpg)
Command Line
Copyright © Software Carpentry 2010
This work is licensed under the Creative Commons Attribution License
See http://software-carpentry.org/license.html for more information.
Version Control
![Page 2: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/2.jpg)
Version Control Command Line
SmartSVN
![Page 3: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/3.jpg)
Version Control Command Line
SmartSVN
Command Line
![Page 4: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/4.jpg)
Version Control Command Line
It’s fast.
![Page 5: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/5.jpg)
Version Control Command Line
It’s fast.
It’s simple.
![Page 6: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/6.jpg)
Version Control Command Line
revision 6
![Page 7: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/7.jpg)
Version Control Command Line
$ svn checkout
![Page 8: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/8.jpg)
Version Control Command Line
$ svn co
![Page 9: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/9.jpg)
Version Control Command Line
$ svn co https://universal.software-carpentry.org
/cygwin/home/dracula/monsters
![Page 10: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/10.jpg)
Version Control Command Line
$ svn co https://universal.software-carpentry.org
/cygwin/home/dracula/monstersrepository
![Page 11: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/11.jpg)
Version Control Command Line
$ svn co https://universal.software-carpentry.org
/cygwin/home/dracula/monsters
working copy
![Page 12: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/12.jpg)
Version Control Command Line
$ svn co https://universal.software-carpentry.org
/cygwin/home/dracula/monsters
A earth/carlsbad.txt
A earth/antarctica.txt
...
Checked out revision 6.
$
6
6
![Page 13: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/13.jpg)
Version Control Command Line
$ svn co https://universal.software-carpentry.org
/cygwin/home/dracula/monsters
A earth/carlsbad.txt
A earth/antarctica.txt
...
Checked out revision 6.
$ cd /cygwin/home/dracula/monsters
$
6
![Page 14: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/14.jpg)
Version Control Command Line
$ svn co https://universal.software-carpentry.org
/cygwin/home/dracula/monsters
A earth/carlsbad.txt
A earth/antarctica.txt
...
Checked out revision 6.
$ cd /cygwin/home/dracula/monsters
$ ls
earth mars jupiter …
$
6
![Page 15: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/15.jpg)
Version Control Command Line
$ svn log
![Page 16: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/16.jpg)
Version Control Command Line
$ svn log
Damn the budget – the Jovian moons would be …
--------------------------------------------
r6 | mummy | 2010-07-26 09:21:39 | 1 lines
The budget might not even stretch to a deep…
--------------------------------------------
r5 | mummy | 2010-07-26 09:19:18 | 1 lines
…
$
6
![Page 17: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/17.jpg)
Version Control Command Line
$ svn log
Damn the budget – the Jovian moons would be …
--------------------------------------------
r6 | mummy | 2010-07-26 09:21:39 | 1 lines
The budget might not even stretch to a deep…
--------------------------------------------
r5 | mummy | 2010-07-26 09:19:18 | 1 lines
…
$
6
![Page 18: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/18.jpg)
Version Control Command Line
$ svn log
Damn the budget – the Jovian moons would be …
--------------------------------------------
r6 | mummy | 2010-07-26 09:21:39 | 1 lines
The budget might not even stretch to a deep…
--------------------------------------------
r5 | mummy | 2010-07-26 09:19:18 | 1 lines
…
$
6
![Page 19: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/19.jpg)
Version Control Command Line
$ svn log
Damn the budget – the Jovian moons would be …
--------------------------------------------
r6 | mummy | 2010-07-26 09:21:39 | 1 lines
The budget might not even stretch to a deep…
--------------------------------------------
r5 | mummy | 2010-07-26 09:19:18 | 1 lines
…
$
6
![Page 20: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/20.jpg)
Version Control Command Line
$ cd jupiter
$
6
![Page 21: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/21.jpg)
Version Control Command Line
$ cd jupiter
$ nano moons.txtGNU Nano
Name Orbital Radius Orbital Period Mass
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Calisto 1882.7 16.689018 1075.9
…
$
6+
![Page 22: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/22.jpg)
Version Control Command Line
$ cd jupiter
$ nano moons.txtGNU Nano
Name Orbital Radius Orbital Period Mass
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Calisto 1882.7 16.689018 1075.9
…
$
see SWC lecture on “The Shell” for
details about file creation
6+
![Page 23: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/23.jpg)
Version Control Command Line
$ cd jupiter
$ nano moons.txtGNU Nano
Name Orbital Radius Orbital Period Mass
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Calisto 1882.7 16.689018 1075.9
…
$
6+
![Page 24: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/24.jpg)
Version Control Command Line
$ cd jupiter
$ nano moons.txtGNU Nano
Name Orbital Radius Orbital Period Mass
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Calisto 1882.7 16.689018 1075.9
…
$ svn add
6+
![Page 25: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/25.jpg)
Version Control Command Line
$ cd jupiter
$ nano moons.txtGNU Nano
Name Orbital Radius Orbital Period Mass
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Calisto 1882.7 16.689018 1075.9
…
$ svn add moons.txt
6+
![Page 26: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/26.jpg)
Version Control Command Line
$ cd jupiter
$ nano moons.txtGNU Nano
Name Orbital Radius Orbital Period Mass
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Calisto 1882.7 16.689018 1075.9
…
$ svn add moons.txt
A moons.txt
$
6+
![Page 27: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/27.jpg)
Version Control Command Line
revision 6
revision 6+
![Page 28: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/28.jpg)
Version Control Command Line
$ svn commit –m “Some basic facts about the
Galilean moons of Jupiter.”
6+
![Page 29: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/29.jpg)
Version Control Command Line
$ svn commit –m “Some basic facts about the
Galilean moons of Jupiter.”
6+
![Page 30: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/30.jpg)
Version Control Command Line
$ svn commit –m “Some basic facts about the
Galilean moons of Jupiter.”
6+
![Page 31: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/31.jpg)
Version Control Command Line
$ svn commit –m “Some basic facts about the
Galilean moons of Jupiter.”
Adding moons.txt
Transmitting file data . .
Committed revision 7.
$
7
7
![Page 32: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/32.jpg)
Version Control Command Line
revision 7
revision 6
![Page 33: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/33.jpg)
Version Control Command Line
$ cd /cygwin/home/wolfman/monsters
6
![Page 34: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/34.jpg)
Version Control Command Line
$ cd /cygwin/home/wolfman/monsters
$ svn update
6
![Page 35: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/35.jpg)
Version Control Command Line
$ cd /cygwin/home/wolfman/monsters
$ svn update
A jupiter/moons.txt
Updated to revision 7.
$
7
7
![Page 36: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/36.jpg)
Version Control Command Line
$ cd /cygwin/home/wolfman/monsters
$ svn update
A jupiter/moons.txt
Updated to revision 7.
$ cd jupiter
$ less moons.txtName Orbital Radius Orbital Period Mass
Amalthea 181.4 0.498179 0.075
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Calisto 1882.7 16.689018 1075.9
7
![Page 37: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/37.jpg)
Version Control Command Line
$ cd /cygwin/home/wolfman/monsters
$ svn update
A jupiter/moons.txt
Updated to revision 7.
$ cd jupiter
$ less moons.txtName Orbital Radius Orbital Period Mass
Amalthea 181.4 0.498179 0.075
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Calisto 1882.7 16.689018 1075.9
7
![Page 38: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/38.jpg)
Version Control Command Line
$ nano moons.txtGNU Nano
Name Orbital Radius Orbital Period Mass
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Callisto 1882.7 16.689018 1075.9
7+
![Page 39: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/39.jpg)
Version Control Command Line
$ nano moons.txtGNU Nano
Name Orbital Radius Orbital Period Mass
Amalthea 181.4 0.498179 0.075
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Callisto 1882.7 16.689018 1075.9
7+
![Page 40: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/40.jpg)
Version Control Command Line
$ nano moons.txtGNU Nano
Name Orbital Radius Orbital Period Mass
Amalthea 181.4 0.498179 0.075
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Callisto 1882.7 16.689018 1075.9
…
$ svn commit –m “1. Fixed typo Calisto->Callisto.
2. Added info about Amalthea.”Sending jupiter/moons.txt
Transmitting file data .
Committed revision 8.
8
8
![Page 41: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/41.jpg)
Version Control Command Line
$ cd /cygwin/home/dracula/monsters
7
![Page 42: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/42.jpg)
Version Control Command Line
$ cd /cygwin/home/dracula/monsters
$ svn diff
7
![Page 43: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/43.jpg)
Version Control Command Line
$ cd /cygwin/home/dracula/monsters
$ svn diff –r HEAD
7
![Page 44: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/44.jpg)
Version Control Command Line
$ cd /cygwin/home/dracula/monsters
$ svn diff –r HEAD
7
![Page 45: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/45.jpg)
Version Control Command Line
$ cd /cygwin/home/dracula/monsters
$ svn diff –r HEADIndex: jupiter/moons.txt
=================================================================
--- jupiter/moons.txt (revision 8)
+++ jupiter/moons.txt (working copy)
@@ -1,6 +1,5 @@
Name Orbital Radius Orbital Period Mass
-Amalthea 181.4 0.498179 0.075
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
-Callisto 1882.7 16.689018 1075.9
+Calisto 1882.7 16.689018 1075.9
$
7
![Page 46: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/46.jpg)
Version Control Command Line
$ cd /cygwin/home/dracula/monsters
$ svn diff –r HEADIndex: jupiter/moons.txt
=================================================================
--- jupiter/moons.txt (revision 8)
+++ jupiter/moons.txt (working copy)
@@ -1,6 +1,5 @@
Name Orbital Radius Orbital Period Mass
-Amalthea 181.4 0.498179 0.075
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
-Callisto 1882.7 16.689018 1075.9
+Calisto 1882.7 16.689018 1075.9
$
7
![Page 47: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/47.jpg)
Version Control Command Line
$ cd /cygwin/home/dracula/monsters
$ svn diff –r HEADIndex: jupiter/moons.txt
=================================================================
--- jupiter/moons.txt (revision 8)
+++ jupiter/moons.txt (working copy)
@@ -1,6 +1,5 @@
Name Orbital Radius Orbital Period Mass
-Amalthea 181.4 0.498179 0.075
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
-Callisto 1882.7 16.689018 1075.9
+Calisto 1882.7 16.689018 1075.9
$
7
![Page 48: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/48.jpg)
Version Control Command Line
$ cd /cygwin/home/dracula/monsters
$ svn diff –r HEADIndex: jupiter/moons.txt
=================================================================
--- jupiter/moons.txt (revision 8)
+++ jupiter/moons.txt (working copy)
@@ -1,6 +1,5 @@
Name Orbital Radius Orbital Period Mass
-Amalthea 181.4 0.498179 0.075
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
-Callisto 1882.7 16.689018 1075.9
+Calisto 1882.7 16.689018 1075.9
$ svn updateG jupiter/moons.txt
Updated to revision 8.
8
8
![Page 49: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/49.jpg)
Version Control Command Line
revision 8
revision 8revision 8
![Page 50: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/50.jpg)
Version Control Command Line
Dealing with Conflicts
![Page 51: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/51.jpg)
Version Control Command Line
revision 8
revision 8+revision 8+
![Page 52: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/52.jpg)
Version Control Command Line
revision 9
revision 9revision 8+
![Page 53: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/53.jpg)
Version Control Command Line
$ svn commit -m “Added data for Himalia, Elara"Sending jupiter/moons.txt
svn: Commit failed (details follow):
svn: File or directory 'moons.txt' is out of date;
try updating
svn: resource out of date; try updating
$
8+
9
![Page 54: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/54.jpg)
Version Control Command Line
$ svn commit -m “Added data for Himalia, Elara"Sending jupiter/moons.txt
svn: Commit failed (details follow):
svn: File or directory 'moons.txt' is out of date;
try updating
svn: resource out of date; try updating
$
8+
9
![Page 55: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/55.jpg)
Version Control Command Line
$ svn commit -m “Added data for Himalia, Elara"Sending jupiter/moons.txt
svn: Commit failed (details follow):
svn: File or directory 'moons.txt' is out of date;
try updating
svn: resource out of date; try updating
$ svn updateG jupiter/moons.txt
Updated to revision 9.
$
9+
9
![Page 56: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/56.jpg)
Version Control Command Line
$ svn commit -m “Added data for Himalia, Elara"Sending jupiter/moons.txt
svn: Commit failed (details follow):
svn: File or directory 'moons.txt' is out of date;
try updating
svn: resource out of date; try updating
$ svn updateG jupiter/moons.txt
Updated to revision 9.
$ svn commit -m “Added data for Himalia, Elara"Sending jupiter/moons.txt
Transmitting file data .
Committed revision 10.
$
10
10
![Page 57: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/57.jpg)
Version Control Command Line
revision 10
revision 9+revision 10+
![Page 58: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/58.jpg)
Version Control Command Line
revision 11
revision 9+revision 11
![Page 59: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/59.jpg)
Version Control Command Line
$ svn commit -m “Added measurement units"Sending jupiter/moons.txt
svn: Commit failed (details follow):
svn: File or directory 'moons.txt' is out of date;
try updating
svn: resource out of date; try updating
$
9+
11
![Page 60: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/60.jpg)
Version Control Command Line
$ svn commit -m “Added measurement units"Sending jupiter/moons.txt
svn: Commit failed (details follow):
svn: File or directory 'moons.txt' is out of date;
try updating
svn: resource out of date; try updating
$ svn update
9+
11
![Page 61: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/61.jpg)
Version Control Command Line
$ svn commit -m “Added measurement units"Sending jupiter/moons.txt
svn: Commit failed (details follow):
svn: File or directory 'moons.txt' is out of date;
try updating
svn: resource out of date; try updating
$ svn updateConflict discovered in ‘jupiter/moons.txt'.
Select: (p) postpone, (df) diff-full, (e) edit,
(mc) mine-conflict, (tc) theirs-conflict,
(s) show all options:
9+
11
![Page 62: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/62.jpg)
Version Control Command Line
$ svn commit -m “Added measurement units"Sending jupiter/moons.txt
svn: Commit failed (details follow):
svn: File or directory 'moons.txt' is out of date;
try updating
svn: resource out of date; try updating
$ svn updateConflict discovered in ‘jupiter/moons.txt'.
Select: (p) postpone, (df) diff-full, (e) edit,
(mc) mine-conflict, (tc) theirs-conflict,
(s) show all options: df
9+
11
![Page 63: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/63.jpg)
Version Control Command Line
--- jupiter/.svn/text-base/moons.txt.svn-base Fri Oct 1 21:08
+++ jupiter/.svn/tmp/moons.txt.tmp Fri Oct 1 22:59
@@ -1,6 +1,11 @@
Name Orbital Radius Orbital Period Mass
+<<<<<<< .mine
+ * 10^3 km * days * 10^20 kg
+=======
+ (10**3 km) (days) (10**20 kg)
+>>>>>>> .r11
Amalthea 181.4 0.498179 0.074
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Callisto 1882.7 16.689018 1075.9
Select: (p) postpone, (df) diff-full, (e) edit, (r) resolved,
(mc) mine-conflict, (tc) theirs-conflict,
(s) show all options:
![Page 64: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/64.jpg)
Version Control Command Line
--- jupiter/.svn/text-base/moons.txt.svn-base Fri Oct 1 21:08
+++ jupiter/.svn/tmp/moons.txt.tmp Fri Oct 1 22:59
@@ -1,6 +1,11 @@
Name Orbital Radius Orbital Period Mass
+<<<<<<< .mine
+ * 10^3 km * days * 10^20 kg
+=======
+ (10**3 km) (days) (10**20 kg)
+>>>>>>> .r11
Amalthea 181.4 0.498179 0.074
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Callisto 1882.7 16.689018 1075.9
Select: (p) postpone, (df) diff-full, (e) edit, (r) resolved,
(mc) mine-conflict, (tc) theirs-conflict,
(s) show all options:
![Page 65: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/65.jpg)
Version Control Command Line
--- jupiter/.svn/text-base/moons.txt.svn-base Fri Oct 1 21:08
+++ jupiter/.svn/tmp/moons.txt.tmp Fri Oct 1 22:59
@@ -1,6 +1,11 @@
Name Orbital Radius Orbital Period Mass
+<<<<<<< .mine
+ * 10^3 km * days * 10^20 kg
+=======
+ (10**3 km) (days) (10**20 kg)
+>>>>>>> .r11
Amalthea 181.4 0.498179 0.074
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Callisto 1882.7 16.689018 1075.9
Select: (p) postpone, (df) diff-full, (e) edit, (r) resolved,
(mc) mine-conflict, (tc) theirs-conflict,
(s) show all options:
![Page 66: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/66.jpg)
Version Control Command Line
--- jupiter/.svn/text-base/moons.txt.svn-base Fri Oct 1 21:08
+++ jupiter/.svn/tmp/moons.txt.tmp Fri Oct 1 22:59
@@ -1,6 +1,11 @@
Name Orbital Radius Orbital Period Mass
+<<<<<<< .mine
+ * 10^3 km * days * 10^20 kg
+=======
+ (10**3 km) (days) (10**20 kg)
+>>>>>>> .r11
Amalthea 181.4 0.498179 0.074
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Callisto 1882.7 16.689018 1075.9
Select: (p) postpone, (df) diff-full, (e) edit, (r) resolved,
(mc) mine-conflict, (tc) theirs-conflict,
(s) show all options: e
![Page 67: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/67.jpg)
Version Control Command Line
GNU Nano
Name Orbital Radius Orbital Period Mass
<<<<<<< .mine
+ * 10^3 km * days * 10^20 kg
+=======
+ (10**3 km) (days) (10**20 kg)
+>>>>>>> .r11
Amalthea 181.4 0.498179 0.074
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Callisto 1882.7 16.689018 1075.9
…
![Page 68: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/68.jpg)
Version Control Command Line
GNU Nano
Name Orbital Radius Orbital Period Mass
<<<<<<< .mine
+ * 10^3 km * days * 10^20 kg
+=======
+ (10**3 km) (days) (10**20 kg)
+>>>>>>> .r11
Amalthea 181.4 0.498179 0.074
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Callisto 1882.7 16.689018 1075.9
…
![Page 69: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/69.jpg)
Version Control Command Line
GNU Nano
Name Orbital Radius Orbital Period Mass
<<<<<<< .mine
+ * 10^3 km * days * 10^20 kg
+=======
+ (10**3 km) (days) (10**20 kg)
+>>>>>>> .r11
Amalthea 181.4 0.498179 0.074
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Callisto 1882.7 16.689018 1075.9
…
![Page 70: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/70.jpg)
Version Control Command Line
GNU Nano
Name Orbital Radius Orbital Period Mass
* 10^3 km * days * 10^20 kg
Amalthea 181.4 0.498179 0.074
Io 421.6 1.769138 893.2
Europa 670.9 3.551181 480.0
Ganymede 1070.4 7.154553 1481.9
Callisto 1882.7 16.689018 1075.9
…
![Page 71: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/71.jpg)
Version Control Command Line
Select: (p) postpone, (df) diff-full, (e) edit, (r) resolved,
(mc) mine-conflict, (tc) theirs-conflict,
(s) show all options:
9+
11
![Page 72: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/72.jpg)
Version Control Command Line
Select: (p) postpone, (df) diff-full, (e) edit, (r) resolved,
(mc) mine-conflict, (tc) theirs-conflict,
(s) show all options: r
9+
11
![Page 73: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/73.jpg)
Version Control Command Line
Select: (p) postpone, (df) diff-full, (e) edit, (r) resolved,
(mc) mine-conflict, (tc) theirs-conflict,
(s) show all options: r
Updated to revision 11.
$
11+
11
![Page 74: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/74.jpg)
Version Control Command Line
Select: (p) postpone, (df) diff-full, (e) edit, (r) resolved,
(mc) mine-conflict, (tc) theirs-conflict,
(s) show all options: r
Updated to revision 11.
$ svn commit -m “Added measurement units“Sending jupiter/moons.txt
Transmitting file data .
Committed revision 12.
12
12
![Page 75: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/75.jpg)
Version Control Command Line
Rollback
![Page 76: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/76.jpg)
Version Control Command Line
revision 12
revision 12
![Page 77: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/77.jpg)
Version Control Command Line
revision 12
revision 12+
![Page 78: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/78.jpg)
Version Control Command Line
revision 12
revision 12+
UNDO!
![Page 79: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/79.jpg)
Version Control Command Line
$ cd /cygwin/home/wolfman/monsters/jupiter
$
12+
![Page 80: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/80.jpg)
Version Control Command Line
$ cd /cygwin/home/wolfman/monsters/jupiter
$ svn revert
12+
![Page 81: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/81.jpg)
Version Control Command Line
$ cd /cygwin/home/wolfman/monsters/jupiter
$ svn revert moons.txt
12+
![Page 82: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/82.jpg)
Version Control Command Line
$ cd /cygwin/home/wolfman/monsters/jupiter
$ svn revert moons.txt
Reverted moons.txt
$
12
![Page 83: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/83.jpg)
Version Control Command Line
revision 12
revision 12
![Page 84: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/84.jpg)
Version Control Command Line
revision 12
revision 12+
![Page 85: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/85.jpg)
Version Control Command Line
revision 13
revision 13
![Page 86: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/86.jpg)
Version Control Command Line
revision 13
revision 13
I want to reverse!
![Page 87: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/87.jpg)
Version Control Command Line
131210 11
NO ERASING!
![Page 88: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/88.jpg)
Version Control Command Line
10 11 12 13 14
merge
![Page 89: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/89.jpg)
Version Control Command Line
$ cd /cygwin/home/dracula/monsters/jupiter
$ svn merge
13
![Page 90: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/90.jpg)
Version Control Command Line
$ cd /cygwin/home/dracula/monsters/jupiter
$ svn merge -r
13
![Page 91: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/91.jpg)
Version Control Command Line
$ cd /cygwin/home/dracula/monsters/jupiter
$ svn merge –r HEAD:12
13
![Page 92: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/92.jpg)
Version Control Command Line
$ cd /cygwin/home/dracula/monsters/jupiter
$ svn merge –r HEAD:12 moons.txt
13
![Page 93: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/93.jpg)
Version Control Command Line
$ cd /cygwin/home/dracula/monsters/jupiter
$ svn merge –r HEAD:12 moons.txt
-- Reverse-merging r13 into ‘moons.txt’
U moons.txt
$
13+
![Page 94: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/94.jpg)
Version Control Command Line
$ cd /cygwin/home/dracula/monsters/jupiter
$ svn merge –r HEAD:12 moons.txt
-- Reverse-merging r13 into ‘moons.txt’
U moons.txt
$ svn diff
...
$
13+
![Page 95: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/95.jpg)
Version Control Command Line
$ cd /cygwin/home/dracula/monsters/jupiter
$ svn merge –r HEAD:12 moons.txt
-- Reverse-merging r13 into ‘moons.txt’
U moons.txt
$ svn diff
...
$ svn commit –m “Alright, no commas.”
Sending jupiter/moons.txt
Transmitting file data .
Committed revision 14.
14
14
![Page 96: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/96.jpg)
Version Control Command Line
svn co check out repositorysvn log view change historysvn add add filesvn commit commit filesvn update update to most recent revisionsvn diff view differences between
revisionssvn merge merge revisions
![Page 97: Command Line Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See .](https://reader035.fdocuments.us/reader035/viewer/2022070401/56649f215503460f94c3993d/html5/thumbnails/97.jpg)
October 2010
created by
Ainsley Lawson
Copyright © Software Carpentry 2010
This work is licensed under the Creative Commons Attribution License
See http://software-carpentry.org/license.html for more information.