Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
courses
Git course
Commits
021f99c3
Commit
021f99c3
authored
Mar 14, 2019
by
Mihai Lefter
Browse files
Update server IP
parent
84c497ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
basics/basics_handouts.tex
View file @
021f99c3
...
...
@@ -23,8 +23,9 @@ Open \url{http://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html} in
your browser. It may be faster to google for putty.
\medskip
Download and run
\href
{
https://the.earth.li/~sgtatham/putty/latest/w32/putty.exe
}{
\textbf
{
putty.exe
}
.
(Alternative binary files, the SSH and Telnet client itself)
}
.
Download and run
\href
{
https://the.earth.li/~sgtatham/putty/latest/w32/putty.exe
}{
\textbf
{
putty.exe
}}
,
the standalone executable and not the installer (Alternative binary files,
the SSH and Telnet client itself).
\medskip
Introduce the education server IP address
\textbf
{
145.88.35.11
}
as destination.
...
...
@@ -135,7 +136,6 @@ newly-created directory to make a new repository.
\bigskip
Check the status of your repository.
\bigskip
\subsubsection*
{
Your first commit
}
Create a new file named ``README'' (with an editor, or by using the
...
...
@@ -143,32 +143,36 @@ Create a new file named ``README'' (with an editor, or by using the
\begin{itemize}
\item
\emph
{
Question:
}
What is the status of this new file?
\end{itemize}
\
big
skip
\
med
skip
Stage this file for the next commit using ``
\gitcmd\ \cmd
{
add
}
''.
\begin{itemize}
\item
\emph
{
Question:
}
What is the status of this file now?
\end{itemize}
\
big
skip
\
med
skip
Commit your changes.
\begin{itemize}
\item
\emph
{
Question:
}
What happened to the status?
\end{itemize}
\bigskip
\subsubsection*
{
Manipulation in the staging area
}
Edit your file
and stage it
.
\
big
skip
Edit your file
. Check the repository status
.
\
med
skip
Now remove the file from the staging area
.
\
big
skip
Stage your modified file. Check the repository status
.
\
med
skip
Stage the file and commit.
\bigskip
Now remove the file from the staging area. Check the repository status.
\medskip
Discard the changes performed to the file. Check the repository status.
\medskip
Edit again the file, stage it, and commit.
\subsubsection*
{
Working with versions
}
Edit your file again and commit
it
one more time.
Edit your file again and commit one more time.
\bigskip
Now you change your mind and you want to restore the version stored in the
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment