Commit f1206fbe authored by Rijo Thomas's avatar Rijo Thomas

Update index.html

parent ffdbd8b0
......@@ -24,7 +24,7 @@ git config --global core.autocrlf true</pre>
# Initialize git
git init
# Add REMOTE URL
git remote add origin https://USER@HOST.COM/PROJECT.git
git remote add origin https://HOST.COM/USERNAME/REPOSITORY.git
# Add all files
git add .
# Commit all
......@@ -35,7 +35,7 @@ git push -u origin BRANCH
# From REPO/REMOTE
# Clone
git clone https://USER@HOST.COM/PROJECT.git
git clone https://HOST.COM/USERNAME/REPOSITORY.git
cd PROJECT
# Create project files
# Add all
......@@ -78,8 +78,8 @@ git pull [REMOTE BRANCH]</pre>
<h3>Local work</h3>
<pre class="prettyprint lang-git"># Add all changes to stage
git add .
# Commit single file/directory
git commit path/file/dir -m 'commit message'
# Commit single file
git commit FILE -m 'commit message'
# Commit all tracked files
git commit -a -m "Initial commit"
# Commit staged changes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment