Tutorials related chat. For other discussions please join https://gitter.im/codebar/chat
richardwestenra on gh-pages
Corrected minor spelling and gr… Merge pull request #481 from pe… (compare)
KimberleyCook on gh-pages
Replace use of 'join' function … Merge pull request #480 from bd… (compare)
KimberleyCook on gh-pages
add more youtube links (compare)
KimberleyCook on add-youtube-links-to-some-tutorials
KimberleyCook on gh-pages
add youtube links for further l… Merge pull request #479 from co… (compare)
KimberleyCook on add-youtube-links-to-some-tutorials
add youtube links for further l… (compare)
echo ".idea" >> .gitignore
>
because that will overwrite the file rather than append to it
Shall I ignore the .gitignore "untracked files" and the "changes not staged for commit"? Here's the console.
"code"
Carolinas-MBP:first_git_project carolina$ git status
On branch master
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: .idea/misc.xml
modified: .idea/workspace.xml
Untracked files:
(use "git add <file>..." to include in what will be committed)
.gitignore
no changes added to commit (use "git add" and/or "git commit -a")
Carolinas-MBP:first_git_project carolina$
"code"
Thanks.
.idea/
in your .gitignore
yes, but now if I do git status I get changes not staged for commit and lists the .idea files that I modified. And also says that I have an untracked file, .gitingore.
In the .gitingore I have all this:
.idea/.name
.idea/compiler.xml
.idea/copyright/profiles_settings.xml
.idea/first_git_project.iml
.idea/misc.xml
.idea/modules.xml
.idea/vcs.xml
.idea/workspace.xml
.gitignore
, that cheeky beggar lives in git alongside your project
.git/
folder in the project, do a git init
and just re-add the files you do care about
git remote add origin git@github.com:YOURUSERNAME/YOURREPONAME