Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Create a new folder for the project. Perform git init in that folder the. Do git add . Then git commit -m "whatever message is" this adds the file to git and creates a commit. The do git remote add origin https://GitHub/whatever/project and last but not least git push origin master
-
1) Don't touch the .git folder.
2) NEVER TOUCH THE .GIT FOLDER.
3) Don't git init in a folder C:/Users folder. Create an empty folder specifically for your project. Create a file in it. Chdir into it. Follow @tankerkiller125 post. -
1) Don't touch the .git folder.
2) NEVER TOUCH THE .GIT FOLDER.
3) Don't git init in a folder C:/Users folder. Create an empty folder specifically for your project. Create a file in it. Chdir into it. Follow @tankerkiller125 post. -
First lesson, don't be afraid to ask about this! You're still pretty new to this (I think?) and you're just trying to learn/improve yourself! Believe it or not but except for pushing, pulling and committing I don't know much about git myself!
-
thank you to devRant's solemn sage mentor, @linuxxx, and yes, relatively new, took an ap class in high school that taught me Java pretty well, worked as IT and did an internship that didn't really produce more than a name/recommendation for my resume, as well as practice/experimentation on my own, so yeah, still a little green.
I'm almost ashamed to ask this but...
I need help with git, not GitHub but just plain git.
So I have Linux on windows because I realised all i need is bash, not all of Linux. So I'm taking a tutorial on git because... I'm a programmer, I need to know this. So I am also doing some demo stuff on my own and... I have no clue where to put the file I want to handle with git. In pretty sure I should put it in the file containing the .git folder, which includes .bash_history, etc. But when I git init and git status, it doesn't see it, so am i doing something wrong?
To be specific the test file is in
C:///Users/...
undefined