crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

Most common Git Command and there Git Functions?
Question Posted on 08 May 2024Home >> Repository Questions >> Git Questions >> Most common Git Command and there Git Functions?

Most common Git Command and there Git Functions?
Below is the difference in between Git Command and Git Function:-
0
0

NumberCommandFunction
1git config --global user.name "name" git config --global user.email "E-mail"Here we will configure the author name and email address to be used with your commits
2Git initCreate a new local local respository
3Git clone /path/to/repositoryCreate a working copy of a local repository
4git clone username@host:/path/to/repositoryFor a remote server, use
5git add <Filename> git add*This command will add one or more file to staging.
6git commit -m "Commit message"This will do commit changes to head
7git commit -aThis command will commit any files that you have added with git add and also commit any files you have changed since then
8git push origin masterThis will send changes to the master branch of your remote repository
9git statusThis will list the files you have changed and those you still need to add or commit.
10git remote add origin <server>If you have not connected your local repository to a remote server, add the server to be able to push to it.


.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

Why Git is fast and which language is used in GIT?

What is syntax to fix a broken commit in GIT?

What is GitLive new features that will change the game?

What is Subgit and what is the use of this?

Difference between Git and SVN






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap