Skip to content

This repository is create for teaching first year students about basics of git.

Notifications You must be signed in to change notification settings

Teamexe/TestRepoForFirstYear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TestRepoForFirstYear

This repository is created for teaching first year students about basics of git.

##Basic commands for using github and their usage

###$ cd - change directory ( going from one place/folder to another) usage - cd Desktop , cd Downloads

###$ git add --all - adding contents to git folder usage use this command in your git/site folder - git add --all this will add all changes done in the folder.

###$ git commit -m "name of commit" - gives a name to the changes done usage - git commit -m "name of commit"

###$ git push -u origin gh-pages - pushes the offline changes to the site usage - git push -u origin gh-pages after this command you'll be asked to write your username and password

###$ git pull - pulls the changes done online usage - git pull this command is used in the git folder

###$ git clone "url of site repository" usage - git clone "url here" this will clone the site repository into a folder

download site repository

git clone "url of repository"

##sequence of commands when pushing a change

git add --all git commit -m "commit name" git push origin gh-pages

About

This repository is create for teaching first year students about basics of git.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •