Hi! When committing during creating a local git repository, I am getting this message popping up in R: git config --global user.email "you@example.com" git config --global user.name "Your Name" When typing these into the terminal, and retrying, the message still occurs. Is this a common mistake?
Hi Luke - Can you try to run those from a command line outside of RStudio? Then try running "git config --global -l" from the command line and make sure there are values there for user.name and user.email. Let me know if this doesn't solve the problem
Hi, thank you for your videos. Nowadays anyone can have unlimited private repositories also with the free version of github, you have a limit of 500MB of storage (for private only) though.
This video has been super helpful. I don't know if you are still monitoring these but if I have an existing repository and existing Rproj that I wasnt using git on but ratherly stupidly copy pasting code in GitHub folder. How do I now, link the project to the repository. Added caveat - what if I want to put that stuff on a branch? Thanks.
My grad program taught me a whole lot about R but nothing about GitHub. I've been so lost trying to figure out how to get my R scripts into GitHub until now. Thank you so much!!!
Thank you very much for making this! I just started learning R and GitHub and am really excited to keep all my projects organized for other folks to see and share.
Great instructional video, thanks! During the pandemic I became proficient at this but haven't used Git in a couple of years. You provided just the guidance I needed.
Our Lab doesn't use it, but I still try to manage my projects in GIT. I don't know why but I like Gitlab more. Thanks for sharing your point of view over and over again. I don't know why you only have 3k subs.
Hi Professor thanks for sharing. I have problems when installing R packages in ubuntu or Linux, it take several times and often rise "exit with zero status" please help. Thanks.
Thanks for watching! Sorry to hear you're having problems with installing packages. Try doing it in Rstudio. If it complains that it can't find a different package when installing the package you want, go ahead and try to install the package it's complaining about
Maybe just for others that run into the same problem. Do not create a README file at the start when creating your repository. At least I had the problem that I then could not link my Rproject with my github repository because it said that there were files in my github repository that were not on my local computer. Just follow his instructions precisely and you should not run into any trouble. In the process of trying to fix my issue I also linked my Rstudio with my github using a SSH-key but I am not sure if that was really necessary. I used github for the very first time and this was my first repository ever made on my github account.
@@Riffomonas I have seen that mikropml is a package for ml tools for microbiology. Is it recommended to have knowledge on microbiology to contribute to this package ?
@@Riffomonas I have managed to connect Git and RStudio just now by using PAT. What I meant before is that after creating a new repository I don’t see a window with Quick setup where I could copy the push settings
Thank you for the great video. I am using RStudio server and connecting it to the Github. I have successfully committed and pushed several times. However, today, I accidentally commit a large file from RStudio to Github. It causes errors and "push" process is failed. Then I tried to commit a small file and push it (hoping it will work normally), and it turned out to fail as well since, I guess, the prior commit was failed. Therefore, now I have 2 commits not pushed to Github yet. I got the message "Your branch is ahead of 'origin/main' by 2 commits." My question is how to solve the issue? The first option is I want to cancel the committing a large file, or possibly second commit I can push the large file. I prefer the first one actually. Please help me to solve it. Thank you.
If you google for how to undo commits you’ll find some good tutorials. If you try this from the command line it should reset your local repository to match the remote repository: git reset --hard origin/ the should be the name of your branch on GitHub. Be sure to add the problem file to your .gitignore file
I always get promoted to enter my username and password even when i enter my personal access token I only ever seem the get the message fatal: unable to access
Git is giving me headaches at the moment. The Git tab is not showing no matter how I configure things, change the path, or whatever. The joy of using Windows 😂
@@Riffomonas It was a stupid thing... like usual 🤣 I was trying to run Git on a project stored on an external hard drive, but because of the formatting of the hard drive, I do not have full write permission. I ran it on my PC's hard drive and it worked perfectly.
@@po-t7299 Thanks. I had the very same issue. I was clueless - till I read your post. Worked for me as well. Riffomonas Project, thanks for creating and uploading this video!
What kind of questions do you have about using git or GitHub?
Hi! When committing during creating a local git repository, I am getting this message popping up in R:
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
When typing these into the terminal, and retrying, the message still occurs. Is this a common mistake?
Hi Luke - Can you try to run those from a command line outside of RStudio? Then try running "git config --global -l" from the command line and make sure there are values there for user.name and user.email. Let me know if this doesn't solve the problem
Hi, thank you for your videos. Nowadays anyone can have unlimited private repositories also with the free version of github, you have a limit of 500MB of storage (for private only) though.
@@AndreaDalseno that's fantastic! thanks
This video has been super helpful. I don't know if you are still monitoring these but if I have an existing repository and existing Rproj that I wasnt using git on but ratherly stupidly copy pasting code in GitHub folder. How do I now, link the project to the repository. Added caveat - what if I want to put that stuff on a branch? Thanks.
My grad program taught me a whole lot about R but nothing about GitHub. I've been so lost trying to figure out how to get my R scripts into GitHub until now. Thank you so much!!!
Thank you very much for making this! I just started learning R and GitHub and am really excited to keep all my projects organized for other folks to see and share.
Hey Resford, I'm glad to hear the video was helpful! Project organization is an under appreciated part of reproducible research
you sir are my hero, i was so lost without you
lol - thanks! I'm glad you found this helpful
Possible to like this video 1000 times?
Thank you Sir
Great instructional video, thanks! During the pandemic I became proficient at this but haven't used Git in a couple of years. You provided just the guidance I needed.
So glad to hear it - thanks for watching!
Your videos are immensely helpful! Also they are so friendly for beginners like me. Really appreciate you making and sharing these vids!!
Thank you!! Really appreciate for creating these simple, concise yet powerful tutorials.
Thanks man, this video was EXTREMELY useful!! Awesome!
Excellent! Thanks for watching Pedro🤓
Simple and straightforward, GREAT! A big thanks to you!
Thanks 🤓
This is really helpful, I'm sure I'll comeback to this video a few times.
Thanks for watching!😊
Our Lab doesn't use it, but I still try to manage my projects in GIT. I don't know why but I like Gitlab more.
Thanks for sharing your point of view over and over again. I don't know why you only have 3k subs.
Thanks! We’ll get there 😊 I’m still learning how to do RUclips better and have confidence the channel will keep growing
Thanks for teaching this subject
My pleasure - glad you found the video useful!
This may seem like simple steps but this really clarified a lot of things, huge thanks from California :)
Wonderful! Thanks for watching and I’m glad it was helpful
☺ Thanks, Appreciated . Can you please make videos on how to make nested loops in R - that we can use for feature engineering and all ?
Hey Sahil! I did a for loop episode a while back. Maybe that will help? ruclips.net/video/hG7SSfBXVuM/видео.html
great content, keep it up bruv!
Very helpful! Thanks a lot!
Glad it helped!
Hi Professor thanks for sharing.
I have problems when installing R packages in ubuntu or Linux, it take several times and often rise "exit with zero status" please help.
Thanks.
Thanks for watching! Sorry to hear you're having problems with installing packages. Try doing it in Rstudio. If it complains that it can't find a different package when installing the package you want, go ahead and try to install the package it's complaining about
Just wanted to say that now private repositories are also available with the free version.
It’s such a great service!
Thanks for great instruction! I got stuck at the new authentication method a bit, but made it through!!
Wonderful!
That was helpful! Thank you.
Glad it was helpful! Thanks for watching :)
Maybe just for others that run into the same problem. Do not create a README file at the start when creating your repository. At least I had the problem that I then could not link my Rproject with my github repository because it said that there were files in my github repository that were not on my local computer. Just follow his instructions precisely and you should not run into any trouble. In the process of trying to fix my issue I also linked my Rstudio with my github using a SSH-key but I am not sure if that was really necessary.
I used github for the very first time and this was my first repository ever made on my github account.
Thanks Marer - glad you got it working!🤓
Many thanks. Very helpful.
In my version control option, I only see none, there is no other option. What can I do in that case?
Hi Jane - thanks for watching! First make sure you have git installed on your computer
Amazing, thanks!
Thanks Marcelo!
thank for this amazing video, it helped a lot!
Glad to hear it!
Hello. I tried to commit my data to git but it opens an interface and asks me to put in email and name. I can't type in this interface tho.
Thanks man. this is a great videos
A little off-topic, but what open R project do you recommend to join as a 4-year experience person with interest in machine learning ?
Wonderful question! Somewhat selfishly maybe mikropml could use some help?
@@Riffomonas I have seen that mikropml is a package for ml tools for microbiology. Is it recommended to have knowledge on microbiology to contribute to this package ?
@@andrea-mj9ce it's widely used outside of microbiology so no need for micro expertise!
Hey, thanks for the very helpful video. My Git Acc doesn't show me any Quick setup information after creating my repository ( no codes pop up)
Hmm I’m not sure I follow what you’re saying. You don’t see git in rstudio?are you sure you have git installed on your computer?
@@Riffomonas I have managed to connect Git and RStudio just now by using PAT.
What I meant before is that after creating a new repository I don’t see a window with Quick setup where I could copy the push settings
I don't have a option git, in version control, please tell what I am missing
Can you double check that you have git installed?
Yeah.. just installed
Thank you for the great video. I am using RStudio server and connecting it to the Github. I have successfully committed and pushed several times. However, today, I accidentally commit a large file from RStudio to Github. It causes errors and "push" process is failed. Then I tried to commit a small file and push it (hoping it will work normally), and it turned out to fail as well since, I guess, the prior commit was failed. Therefore, now I have 2 commits not pushed to Github yet. I got the message "Your branch is ahead of 'origin/main' by 2 commits." My question is how to solve the issue? The first option is I want to cancel the committing a large file, or possibly second commit I can push the large file. I prefer the first one actually. Please help me to solve it. Thank you.
If you google for how to undo commits you’ll find some good tutorials. If you try this from the command line it should reset your local repository to match the remote repository: git reset --hard origin/ the should be the name of your branch on GitHub. Be sure to add the problem file to your .gitignore file
great video!
Thanks! 🤓
why don't find the option of setting version control to git at 2:50? I only have "none" option... any help is appreciated. thanks!
sorry, I got that question solved from the previous video. thank you!
Hi Birasa - glad you got it worked out!
Same issue...! please help
sir how to create python environment in r studio. i want to run RNN and LSTM models in r.
Very helpful! Thankyouu
I always get promoted to enter my username and password even when i enter my personal access token I only ever seem the get the message fatal: unable to access
Hi Heather! Sorry, I haven't gone to using the PAT yet. I'm still using the ssh keys.
Thank you so much!!
THANK YOU!
My pleasure!
Thanks very much :)
My pleasure - glad you found it helpful!
Thanks for this
My pleasure! Thanks for watching 🤓
this video just earned u a like, subscribe and a comment ✌
whoop whoop! 🤣
Git is giving me headaches at the moment. The Git tab is not showing no matter how I configure things, change the path, or whatever. The joy of using Windows 😂
Can you double check you have git installed? You might also confirm that the preferences are set right for version control?
@@Riffomonas It was a stupid thing... like usual 🤣
I was trying to run Git on a project stored on an external hard drive, but because of the formatting of the hard drive, I do not have full write permission.
I ran it on my PC's hard drive and it worked perfectly.
@@Riffomonas Also, thank you for your tutorial! It is better explained than the official Happy Git book.
@@po-t7299 Thanks. I had the very same issue. I was clueless - till I read your post. Worked for me as well.
Riffomonas Project, thanks for creating and uploading this video!