Githuh: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Usefull Git command == === Difference / Comparaison === <pre>git diff</pre>") |
|||
Line 1: | Line 1: | ||
== Usefull Git command == | == Usefull Git command == | ||
=== Create Repository === | |||
<pre>git init</pre> | |||
=== configuration === | |||
<pre>git init</pre> | |||
=== Set Remote === | |||
<pre>git remote set-url origin git@gitlab.com/group/report.git</pre> | |||
or | |||
<pre>git remote set-url origin https://username:password@gitlab.com/group/repot.git</pre> | |||
=== Pull === | |||
<pre>git pull</pre> | |||
=== Store credential === | |||
<pre>git config --global credential.helper store</pre> | |||
=== Difference / Comparaison === | === Difference / Comparaison === | ||
<pre>git diff</pre> | <pre>git diff</pre> |
Revision as of 01:26, 25 July 2022
Usefull Git command
Create Repository
git init
configuration
git init
Set Remote
git remote set-url origin git@gitlab.com/group/report.git
or
git remote set-url origin https://username:password@gitlab.com/group/repot.git
Pull
git pull
Store credential
git config --global credential.helper store
Difference / Comparaison
git diff