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
...
@@ -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.
your browser. It may be faster to google for putty.
\medskip
\medskip
Download and run
\href
{
https://the.earth.li/~sgtatham/putty/latest/w32/putty.exe
}{
\textbf
{
putty.exe
}
.
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)
}
.
the standalone executable and not the installer (Alternative binary files,
the SSH and Telnet client itself).
\medskip
\medskip
Introduce the education server IP address
\textbf
{
145.88.35.11
}
as destination.
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.
...
@@ -135,7 +136,6 @@ newly-created directory to make a new repository.
\bigskip
\bigskip
Check the status of your repository.
Check the status of your repository.
\bigskip
\subsubsection*
{
Your first commit
}
\subsubsection*
{
Your first commit
}
Create a new file named ``README'' (with an editor, or by using the
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
...
@@ -143,32 +143,36 @@ Create a new file named ``README'' (with an editor, or by using the
\begin{itemize}
\begin{itemize}
\item
\emph
{
Question:
}
What is the status of this new file?
\item
\emph
{
Question:
}
What is the status of this new file?
\end{itemize}
\end{itemize}
\
big
skip
\
med
skip
Stage this file for the next commit using ``
\gitcmd\ \cmd
{
add
}
''.
Stage this file for the next commit using ``
\gitcmd\ \cmd
{
add
}
''.
\begin{itemize}
\begin{itemize}
\item
\emph
{
Question:
}
What is the status of this file now?
\item
\emph
{
Question:
}
What is the status of this file now?
\end{itemize}
\end{itemize}
\
big
skip
\
med
skip
Commit your changes.
Commit your changes.
\begin{itemize}
\begin{itemize}
\item
\emph
{
Question:
}
What happened to the status?
\item
\emph
{
Question:
}
What happened to the status?
\end{itemize}
\end{itemize}
\bigskip
\subsubsection*
{
Manipulation in the staging area
}
\subsubsection*
{
Manipulation in the staging area
}
Edit your file
and stage it
.
Edit your file
. Check the repository status
.
\
big
skip
\
med
skip
Now remove the file from the staging area
.
Stage your modified file. Check the repository status
.
\
big
skip
\
med
skip
Stage the file and commit.
Now remove the file from the staging area. Check the repository status.
\bigskip
\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
}
\subsubsection*
{
Working with versions
}
Edit your file again and commit
it
one more time.
Edit your file again and commit one more time.
\bigskip
\bigskip
Now you change your mind and you want to restore the version stored in the
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