git init
command is used for creating a new blank repository or make an existing project as a git project. This command creates a .git
folder that contains subdirectory and a HEAD file that stores the HEAD of the master branch.
devops
directory in your home directorydevops
directorygit init
to initialize a git repositoryTaking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
Note - Having trouble with the assessment engine? Follow the steps listed here
Please login to comment
37 Comments
Hi Arpit,
Can you restart your jupyter server from the control panel. You can refer to https://discuss.cloudxlab.com/t/im-having-problem-with-assessment-engine-how-should-i-fix/3734 for it.
Upvote Sharegot it the main issue was i have changed the password but it was not reflected in the cloudxlab
after reseting to the password which was set by you guys i have restared the server as prescripted then the console was taking the answer
thankyou for your response
Upvote Sharemkdir devops
cd devops
git init
Upvote Sharemkdir devops
cd devops
git init
Upvote SharePlease type your commands in webconsole and submit your answer.
Upvote ShareIts Not Working for me git init
Upvote ShareHi Rahul,
Can you please share the screenshot of the error you are getting?
Upvote Sharemkdir devops
cd devops
git init
Upvote Sharemkdir devops
cd devops
git init
Upvote Sharecd
mkdir devops
cd devops
git init
Upvote Sharecd
mkdir devops
cd devops
git init
Upvote Shareis it mandatory to have cloudxlab subscription even for free courses? will i get certification if i do not complete guided project on GIt?
Upvote ShareThere are no certificate issued for free courses.
Upvote Sharewhy the git init command is not working in my jupyter notebook terminal?\
Can you share the screenshot so that we can assist better
Upvote ShareMy console is not working.....it says Jupyter refused to connect. Please help
Upvote ShareHi,
The console was down for some time ..it should work fine now.
Apologies for the inconvenience.
Upvote ShareThis comment has been removed.
Thankyou for the quick support Abhinav Sir...I appreciate your help!
Upvote Sharecd ~
mkdir devops
cd devops
git init
Upvote ShareHi,
Please use the Lab(right side of the screen) to submit your code
Thank you.
Upvote ShareHi
Please guide me in the issue mentioned below:
I completed up to slide no 14 of this project. I was facing some "permission issues" in slide 15. I tried to troubleshoot. Then I thought to start from the beginning again. Now I am facing this issue.
[drbapanpaul5273@cxln4 devops]$ cd
Upvote Sharebash: cd: /home/drbapanpaul5273: Permission denied
[drbapanpaul5273@cxln4 devops]$ cd ~
bash: cd: /home/drbapanpaul5273: Permission denied
[drbapanpaul5273@cxln4 devops]$ mkdir devops
[drbapanpaul5273@cxln4 devops]$ cd devops
[drbapanpaul5273@cxln4 devops]$ git init
fatal: Could not switch to '/home/drbapanpaul5273/devops/': Permission denied
[drbapanpaul5273@cxln4 devops]$
cd~
gives a message cd~: command not found. stuck here, once this is done then can move to mkdir and cd
Hi,
There should be a space between cd and ~.
Thanks.
Upvote ShareAlright Thank you.
Upvote ShareI have not been able to create a github project. I have created 'devops' directory. I am not been able to run the 'git init' command. Please help me.
Upvote ShareThe 'git init' command should be run inside the directory which you want to make a git repository. Please follow the instructions carefully and take the hint and answer if required.
Upvote SharePlease tell me how to run 'git init' inside 'devops' directory which I have created
Upvote ShareIt itself is the command.
Upvote ShareThis comment has been removed.
GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.
2 Upvote ShareI am not able to proceed with creating the directory: devops. It shows permission denied. Please help. FYI - I was able to go till step 10 but now i am not able to proceed.
You are trying to make the directory in root directory. Please create it in your home(cd ~) directory.
Upvote Share