SOFTWARE ENGINEERING

EMERGING TRENDS IN SOFTWARE ENGINEERING

MISCELLANEOUS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is the correct sequence of commands to transfer the code to the git hub repository from the developer computer?
A
git add, git commit, git push
B
git commit, git push, git add
C
git add, git push, git commit
D
git push, git add, git commit
Explanation: 

Detailed explanation-1: -To add and commit files to a Git repository Enter git add–all at the command line prompt in your local project directory to add the files or changes to the repository. Enter git status to see the changes to be committed.

Detailed explanation-2: -Create a new repository on GitHub.com. Open TerminalTerminalGit Bash. Change the current working directory to your local project. Use the init command to initialize the local directory as a Git repository. Add the files in your new local repository. Commit the files that you’ve staged in your local repository. More items

Detailed explanation-3: -Run git init in the terminal. This will initialize the folder/repository that you have on your local computer system. Run git add . in the terminal. Run git commit-m"insert Message here” . Run git remote-v . Run git push origin master . 08-Jul-2019

There is 1 question to complete.