Skip to content

JeevanRupacha/spiderWeb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spiderWeb

Contributors

-[@JeevanRupacha](https://github.com/JeevanRupacha)

-[@karkigrishmin](https://github.com/karkigrishmin)

Instruction for startup guide

Github instruction

First you should create a project directory or folder where the project is going to be initialize .


Start the git command --> git init


create your own branch command --> git checkout -b "your branch name" note: if your have already branch eliminate -b


add repo inatialize command -> git remote add origin [email protected]:JeevanRupacha/spiderWeb.git
or git remote add origin https://github.com/JeevanRupacha/spiderWeb.git


pull the repo -> command git pull [email protected]:JeevanRupacha/spiderWeb.git or
git pull https://github.com/JeevanRupacha/spiderWeb.git


Note : you can use git fetch origin or git clone link


Well done !!😎😎

Now you can work



adding your file to version control command-> git add . all file added git add "filename"


saving the changes or committment the file command-> git commit -m "your message"

After you finished project

Merging Project

first push into github command-> git push origin "your branch name"


  
               step 1 : got to github repo
               step 2 : select your branch name by dropdown 
               step 3 : select pull request 
               step 4 : make sure to change with your co-worker or bosss
               step 5 : merge or rebase repo
        

Note : if there if merge conflicts conntact your co-workers



Useful git instructions

   
                git remote -v         --> for which repo you have been added
                git status            --> for all the status what changed 
                git log               --> for log of your commit 
                git branch            --> which branch current is
                git checkout master    --> switch the master branch 
                git merge "branch name" --> merge the current branch with name branch 
                git checkout -f         --> recover all the previous version file  i.e last commit 
                git diff                --> get changes 
                git rm filename          --> delete file 
                ssh-keygen               --> generate ssh key 
                cat "path ....rsa.pub"    --> get public ssh key
                ssh-T [email protected]      --> Access the ssh key 
              rm -rf .git     ----> delete all the git repo which was initialize
        

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published