Git and GitHub Beginner Tutorial 3 - Getting started - Install Git windows

  Рет қаралды 111,228

Automation Step by Step

Automation Step by Step

Күн бұрын

Пікірлер
@diraneserges6076
@diraneserges6076 7 ай бұрын
You're the best teacher ever. I will be indebted to you for the rest of my life. I was learning Jenkins and there is a training where github is involved and I need this tutorial to move forward.
@RaghavPal
@RaghavPal 6 ай бұрын
So happy and humbled to know this Dirane. Keep learning
@Star-vg7ix
@Star-vg7ix Жыл бұрын
Well done! You covered a lot of areas in Git. What I like the very best is that you ZOOMED IN when you did this video.
@RaghavPal
@RaghavPal Жыл бұрын
Thanks for watching
@deepakthakkar5482
@deepakthakkar5482 7 жыл бұрын
This was very very useful. This is exactly the kind of tutorial I was looking for. Thanks Raghav.
@RaghavPal
@RaghavPal 7 жыл бұрын
I am glad it helped.
@muraleedharancholiyampadat8285
@muraleedharancholiyampadat8285 3 жыл бұрын
excellent Raghav, you are doing a community service, no other training will come close to it.. keep up the good work!
@RaghavPal
@RaghavPal 3 жыл бұрын
Thanks for the kind words Muraleedharan
@indranilgoswami1500
@indranilgoswami1500 6 жыл бұрын
Your way of teaching is excellent . Keep doing good job.
@RaghavPal
@RaghavPal 6 жыл бұрын
Thanks for your message Indranil
@Karthickmasanmasan
@Karthickmasanmasan 2 жыл бұрын
Perfectly explained in a practical way to make hands-on. Thank you Raghav.
@RaghavPal
@RaghavPal 2 жыл бұрын
Most welcome Karthick
@MalluManish
@MalluManish Жыл бұрын
Sir Manish here......................This is one of the most helpful detailed and well explained Git tutorials I've seen. Thank you for doing this! I thought it will be difficult to do..but after watchin your video and followed the same step this made me soo easier......Your explanation is excellent.can you list out some interview question on Git and Git Hub..so it will be helpful for me prepare accordingly...
@RaghavPal
@RaghavPal Жыл бұрын
Thanks a ton Manish.. I will add interview questions too
@JaybharatVishwakarma
@JaybharatVishwakarma 7 жыл бұрын
Your explanation is really simple and easy to learn on. Thanks a lot for helping us.
@RaghavPal
@RaghavPal 7 жыл бұрын
Great to know this Jaybharat.
@jaminDNB
@jaminDNB Жыл бұрын
Impressed by your fantastic educational content Raghav!!! 🚀 This video is incredibly informative and well-prepared. Thank you for the clear explanations and well-chosen examples that make grasping the material a breeze. Your work truly helps me expand my knowledge in this area. Keep creating such outstanding content! 🌟💻📚
@RaghavPal
@RaghavPal Жыл бұрын
Glad you liked it Ivan
@HeyMani92
@HeyMani92 5 жыл бұрын
Hello Raghav, This tutorial very helped to me, one of the best DevOps tutorials ever.
@RaghavPal
@RaghavPal 5 жыл бұрын
Glad to see your message Mani
@TheAmoskas
@TheAmoskas 10 ай бұрын
Great videos, well detailed informative and well formed! Thanks you!
@RaghavPal
@RaghavPal 10 ай бұрын
Glad it was helpful
@sibaramnayak8138
@sibaramnayak8138 7 жыл бұрын
Wonderful Raghav. It is really awesome training. I am going through other tutorials. :)
@RaghavPal
@RaghavPal 7 жыл бұрын
Great to know this Sibaram, keep watching and learning.
@ShahmeerAli101
@ShahmeerAli101 4 жыл бұрын
thanx Raghav, your videos are very helpful
@RaghavPal
@RaghavPal 4 жыл бұрын
Most welcome!
@srikanthbolisetty1417
@srikanthbolisetty1417 4 жыл бұрын
Thanks a lot for the session Raghav!
@RaghavPal
@RaghavPal 4 жыл бұрын
Most welcome Srikanth
@mairajhussain8741
@mairajhussain8741 2 жыл бұрын
Thanks dear, it is owsome, easy to understand and handson as well.
@RaghavPal
@RaghavPal 2 жыл бұрын
You're most welcome
@wilsoncardoso150
@wilsoncardoso150 6 жыл бұрын
Thank you so much for your time and effort, for sharing your knowledge with us. Thank you and keep the good work.
@RaghavPal
@RaghavPal 6 жыл бұрын
thanks for watching Wilson
@ramalakshmi5640
@ramalakshmi5640 3 жыл бұрын
Great work detailed description 👍
@RaghavPal
@RaghavPal 3 жыл бұрын
thanks Rama
@FreedomFactory3D
@FreedomFactory3D 4 жыл бұрын
Enjoying your courses Raghav thank you ;)
@RaghavPal
@RaghavPal 4 жыл бұрын
Happy to hear that Alec
@ShahmeerAli101
@ShahmeerAli101 4 жыл бұрын
Raghav can u tell me how to push a Jenkinsfile into the GitHub repository and then create a pipeline as code, or build a jenkinsfile.
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Ambarina, I will need to plan a session on this
@xyz-de8en
@xyz-de8en 3 жыл бұрын
Excellent presentation keep it up.Got to learn many things from you 👍
@RaghavPal
@RaghavPal 3 жыл бұрын
Most welcome
@sagarbobade2977
@sagarbobade2977 6 жыл бұрын
Thanks Raghav... For testing doubts/purpose you are my Google bro😀
@RaghavPal
@RaghavPal 6 жыл бұрын
That means a lot Sagar. I am humbled
@ramesh6287
@ramesh6287 5 жыл бұрын
Very good and helpful for beginners, Thank you Raghav
@RaghavPal
@RaghavPal 5 жыл бұрын
You're welcome Ramesh
@madhuriladda9830
@madhuriladda9830 3 жыл бұрын
excellent teaching
@RaghavPal
@RaghavPal 3 жыл бұрын
Thanks Madhuri
@jyotimukherjee4347
@jyotimukherjee4347 3 жыл бұрын
Thank you so much . Iwas stuck in this from last few hours. thanks alot
@RaghavPal
@RaghavPal 3 жыл бұрын
Most welcome Jyoti
@RiteshKumar-dx1uz
@RiteshKumar-dx1uz 6 жыл бұрын
Very informative video.
@cmindia2003
@cmindia2003 3 жыл бұрын
Thanks for the detailed explanation. I'm failing to do git cloning with error saying " failed to connect to git-location port 1080 Timed out" Can you advise where is the missing here
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi, this will help stackoverflow.com/questions/34910646/git-issue-failed-to-connect-timed-out
@Jenny-sb6uu
@Jenny-sb6uu 3 жыл бұрын
Thank you for your clear explanation. It's very useful for me !
@RaghavPal
@RaghavPal 3 жыл бұрын
You are welcome Jenny
@eb2425
@eb2425 3 жыл бұрын
Thank you, Raghav!
@RaghavPal
@RaghavPal 3 жыл бұрын
Most welcome
@shashanksharma9475
@shashanksharma9475 7 жыл бұрын
Very helpful and great explanation. Thank you Raghav. :)
@RaghavPal
@RaghavPal 7 жыл бұрын
You're welcome Shashank
@arungangadhar321
@arungangadhar321 6 жыл бұрын
thanks raghav..i have one quick question. "git remote add origin" : In this command what is 'origin' means???why should i indicate
@RaghavPal
@RaghavPal 6 жыл бұрын
Hi Arun origin is the default name of the remote git repository that you cloned from.
@jatinsahni3969
@jatinsahni3969 3 жыл бұрын
This is probably late but what I understood is that origin is like an alias git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes @Raghav I just had a question on this if we origin is like an alias would this command work git remote add origin ( and no URL of your repo)
@swapnilbop
@swapnilbop 3 жыл бұрын
Great Job man .. Kudos to you
@RaghavPal
@RaghavPal 3 жыл бұрын
Thanks a lot Swapnil
@onetirtha
@onetirtha 2 жыл бұрын
Very helpful, Sir. Thank You!
@RaghavPal
@RaghavPal 2 жыл бұрын
Most welcome
@rajivraghunathan9104
@rajivraghunathan9104 7 жыл бұрын
Thanks . It helped me
@PkStudio56
@PkStudio56 5 жыл бұрын
Successfull configured Thanks
@RaghavPal
@RaghavPal 5 жыл бұрын
Glad to know this
@sombamrara8420
@sombamrara8420 7 жыл бұрын
Thanks a lot..very insightful and clear explanation.
@TheBacker007
@TheBacker007 4 жыл бұрын
Another excellent video !!!!
@RaghavPal
@RaghavPal 4 жыл бұрын
Thanks for watching Aboobacker
@tapas511
@tapas511 6 жыл бұрын
Excellent Demo!!! its very useful ..
@RaghavPal
@RaghavPal 6 жыл бұрын
Glad to know this Tapas
@sichikalokhande5258
@sichikalokhande5258 3 жыл бұрын
It doesn't show 'initial commit'.. it is showing 'no commit yet' what should I do? Pls help
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Sichika, will need to check if you missed something, can also look at some online examples
@manpreetmudhar8436
@manpreetmudhar8436 5 жыл бұрын
Very helpful. Thanks for the videos
@RaghavPal
@RaghavPal 5 жыл бұрын
You're welcome Manpreet
@vasusinghal10
@vasusinghal10 4 жыл бұрын
Thanks Raghav
@RaghavPal
@RaghavPal 4 жыл бұрын
You're welcome Vasu
@ankitmahesh007
@ankitmahesh007 5 жыл бұрын
when we commit first time it is asking for username password you missed that event please cover it as well
@RaghavPal
@RaghavPal 5 жыл бұрын
Sure, Ankit I will do it
@k97rahul
@k97rahul 4 жыл бұрын
@@RaghavPal did you do it? is their any update for this course?
@sureshsivamani1141
@sureshsivamani1141 4 жыл бұрын
Is it possible do a commit at folder level which has multiple text files Instead of doing commit for single text file?
@RaghavPal
@RaghavPal 4 жыл бұрын
Yes Suresh, you actually have to do add at folder level and commit and push will take care. You can just do git add . or use any wild characters too like git add *.txt
@sureshsivamani1141
@sureshsivamani1141 4 жыл бұрын
@@RaghavPal Thanks raghav
@diraneserges6076
@diraneserges6076 7 ай бұрын
Now let's suppose we had more than 10 text files. Should I do a git add for each of these files? Or is there another way to do a git init on all the files?
@RaghavPal
@RaghavPal 6 ай бұрын
you will have to do git init only once for a project, at the starting. To add all the 10 files you can do git add . the . will add all files for commiting and then you can run git commit and push commands Also you can try this: If the text files are in the same directory and you want to add all of them, you can use a wildcard to add all text files at once. For example, if all text files have a .txt extension, you can run: git add *.txt If the text files are located in different directories, you can use the directory path to add all files within that directory. For example, if all text files are in a directory named texts, you can run: git add texts/
@diraneserges6076
@diraneserges6076 6 ай бұрын
@@RaghavPal 🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳. Many Thanks. It work
@niranjankulkarni5423
@niranjankulkarni5423 4 жыл бұрын
I have not understood what exactly the git remote add origin does. Please can you explain or provide me any document to read about it ?
@RaghavPal
@RaghavPal 4 жыл бұрын
I will plan a session on this Niranjan
@sandeepsinghnegi9220
@sandeepsinghnegi9220 4 жыл бұрын
Thanks for the tutorial.
@RaghavPal
@RaghavPal 4 жыл бұрын
You're welcome!
@User22241
@User22241 2 жыл бұрын
Nice videos ☺️
@RaghavPal
@RaghavPal 2 жыл бұрын
Thanks for the visit
@nuimage6336
@nuimage6336 4 жыл бұрын
thank you, very helpful video
@RaghavPal
@RaghavPal 4 жыл бұрын
Glad it was helpful!
@priyangasubbiah8317
@priyangasubbiah8317 4 жыл бұрын
Hi Raghav, without ssh key we can do push then why do we need ssh key? and i tried to get ssh key through putty but couldn't.. pls help me on this.. but when we created repo it shows ssh: url of the repository we used that for remote origin..
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Priyanga, what is the method you are using for authentication. If you can do without ssh its fine
@priyangasubbiah8317
@priyangasubbiah8317 4 жыл бұрын
@@RaghavPal Thank you Raghav for ur reply. Yes I can do without SSH Key.
@nepaliprogrammer9269
@nepaliprogrammer9269 4 жыл бұрын
Can I use git for any kind of files in computers to track changes? For example, sketchup models(.skp) or autocad models(.dwg)
@RaghavPal
@RaghavPal 4 жыл бұрын
Yes you can store any kind of files. Can give a try
@muslimakhakimova2657
@muslimakhakimova2657 3 жыл бұрын
Hi Raghav. ".git" folder is created but it is invisible. How to make it visible? Thank you.
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Muslima, is it hidden, you can just enable view hidden folders
@amarnath1494
@amarnath1494 8 ай бұрын
Hi Raghav, after giving push command I'm getting following error error: src refspec master does not match any error: failed to push some refs to "remote repository Path"
@RaghavPal
@RaghavPal 8 ай бұрын
The error message you're encountering, "error: src refspec master does not match any", typically occurs when you attempt to push changes to a remote repository, but the local branch you're trying to push doesn't exist or hasn't been committed yet. Let's troubleshoot this: 1. Check Your Commits: - Ensure that you've committed your changes locally using the following commands: ``` git add . git commit -m "Your commit message" ``` - Replace `"Your commit message"` with an appropriate description of your changes. 2. Verify Your Branch: - Confirm that you're on the correct branch. If you're working with the `master` branch, make sure it exists. - Note that some repositories now use `main` as the default branch instead of `master`. If that's the case, replace `master` with `main` in your commands. 3. Push to the Correct Branch: - If you're pushing to the `master` branch, use: ``` git push origin master ``` - If your repository uses `main`, use: ``` git push origin main ``` 4. Force Push (Caution): - If you're sure about your changes and want to overwrite the remote branch, you can force push: ``` git push origin master --force ``` Be cautious with this option, as it can potentially overwrite others' work. Remember to replace `origin` with the actual name of your remote repository and adjust the branch name accordingly.
@amarnath1494
@amarnath1494 8 ай бұрын
Thanks for the assistance Raghav
@suprotimroy
@suprotimroy 4 жыл бұрын
Oh no...I followed all these while watching your video for Mac. No prob I will uninstall and reinstall :)
@RaghavPal
@RaghavPal 4 жыл бұрын
Sure, np
@racoonfong8097
@racoonfong8097 3 жыл бұрын
Hi, I have a question. I failed when executing "git push -u origin master" after following all steps smoothly. It doesn't give any error but keep loading forever and can't finish the process (waited for more than 30 mins; retried few times for different folders; tried restart pc). I also tried out solutions found online, such as using "git remote set-url origin" instead. Nothing happen after the command. *When I used VSCode, also encountered case of loading forever whenever I try to push to GitHub, so was desperate to find another way, but end up having same issue. May I get any advice? Thank you.
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi, you can try to pull first. Else try to commit and push to a new branch
@manavsharma3532
@manavsharma3532 3 жыл бұрын
Did you find a solution? Am facing similar problem
@racoonfong8097
@racoonfong8097 3 жыл бұрын
@@manavsharma3532 Hi, unfortunately not yet. I tried changing branches, repository, and reinstalled Git too...Both pull and push will end up in running forever (no error anywhere so can't figure out issue :\ )
@racoonfong8097
@racoonfong8097 3 жыл бұрын
@@RaghavPal Thank you Raghav for spending time to aid me. The solution didn't work for me but anyway thanks for the friendly tutorials!!
@RaghavPal
@RaghavPal 3 жыл бұрын
Most welcome Uki, I will also check, Pls update here for others if you find any solution
@bibek4024
@bibek4024 4 жыл бұрын
Need Help, Hello, I am using win machine and While pushing to git I got following error. fatal: protocol 'git remote add origin https' is not supported
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi, most probably the URLs for your origin remote are malformed. Run command git remote -v And see what do you get as output You can then set remote url with command git remote set-url origin github.com/raghav/java.git
@biplabkr.bhunia5933
@biplabkr.bhunia5933 Жыл бұрын
very good season
@RaghavPal
@RaghavPal Жыл бұрын
Thanks
@jeannemccabe5752
@jeannemccabe5752 7 жыл бұрын
Hi Raghav, when I opened .git folder in My project, it didn't show up, what do you mean by hidden file? Do I need it to show up? Thanks
@RaghavPal
@RaghavPal 7 жыл бұрын
hi Jeanne, .git is a hidden folder created when you say "git init". Its just for information. You might not need to view or edit any contents in this folder.
@Geethagna
@Geethagna 2 жыл бұрын
Follow this option to enable the hidden files/folders in your system --> Select the Start button, then select Control Panel > Appearance and Personalization. Select Folder Options, then select the View tab. Under Advanced settings, select Show hidden files, folders, and drives, and then select OK.
@jeannemccabe5752
@jeannemccabe5752 2 жыл бұрын
@@Geethagna Thanks Jaya. Will give it a try. I had given up!
@manavsharma3532
@manavsharma3532 3 жыл бұрын
I followed exactly the same steps but after git push -u origin master , nothing happens. After which if I try closing Git bash a popup appears showing some running process. Please help.
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Manav. I will need to check on this, Also try online help
@govindgupta9515
@govindgupta9515 5 жыл бұрын
hi Raghv, while using >>> git push -u origin master i am not able to push in master please help.
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Govind, will need to see what is the error message and details
@ankitanag6753
@ankitanag6753 5 жыл бұрын
hi Raghav, I have a very lame question here...why are we using git instead on git hub..we can do same thing committing push and pull the code on github as well .
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Ankita, github is the repository where the project will be stores. You may use other repositories instead of github like bitbucket etc
@ankitanag6753
@ankitanag6753 5 жыл бұрын
@@RaghavPal Thanks for your reply.
@jeannemccabe5752
@jeannemccabe5752 7 жыл бұрын
Raghav, I'm having problems with pushing the local files to my git hub repo. The first difference from your presentation was that I couldn't get the github.git link to copy into my git bash command line. So I typed it in after git remote add origin. Then I tried the git push -u origin master and got an error. I can't seem to copy from the git bash window to this text box. But basically the error msg says that updates were rejected because the remote contains work that I do not have locally. The only thing I put in that remote repo2 was a readme file....could that be it? What should I do now?
@RaghavPal
@RaghavPal 7 жыл бұрын
Yes Jeanne, for copying issue try go to options of your git bash (by clicking on the top left of the window) in case you have added something on your remote repo, you will need to pull it first before you can push new changes. You can watch next videos on this series and understand that. Hope this help. Let me know if you still face any issues.
@uppalasathish4546
@uppalasathish4546 4 жыл бұрын
If we want add project in git hub using eclipse we don't need to download git right
@RaghavPal
@RaghavPal 4 жыл бұрын
Yes Uppala, this will help - kzbin.info/www/bejne/goG3aKlsbsyojLs
@shalinietheldred1633
@shalinietheldred1633 3 жыл бұрын
Eventhough I changed the username and email in git, the username which appears in the github has not changed, Can you help me with this?
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Shalini, git and github are diff platforms, you will have to change in github
@umarani1106
@umarani1106 4 жыл бұрын
Thanks Raghav.. I hava a small doubt in Github. I deleted my old repository name " mycede3 " in Github and created new Repository " My project ". But when IAM Tring to add file from gitbash to GitHub, it will show the old repository only that is mycede3. Pls help me in this problem.
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Uma, you can set your remote repo with commands it remote -v git remote set-url origin github.com/USERNAME/REPOSITORY.git help.github.com/en/github/using-git/changing-a-remotes-url
@pavankulkarni7252
@pavankulkarni7252 5 жыл бұрын
I wonder how are you onKZbin...you got such a premium content
@RaghavPal
@RaghavPal 5 жыл бұрын
Thanks for the message Pavan, I believe with KZbin this education can reach many people who may need it. I have a website here - automationstepbystep.com/online-courses/
@sarayum7934
@sarayum7934 11 ай бұрын
Hi Raghav I am getting this error "fatal: unable to auto-detect email address.. Please help
@RaghavPal
@RaghavPal 11 ай бұрын
Sarayu Here's how to fix the "fatal: unable to auto-detect email address" error in Git: 1. Set Your Git User Name and Email: - Global Configuration: - Open a terminal and run: ```bash git config --global user.name "Your Name" git config --global user.email "your_email@example.com" ``` - Repository-Specific Configuration: - Navigate to the repository directory. - Run: ```bash git config user.name "Your Name" git config user.email "your_email@example.com" ``` 2. Check for Typos: - Ensure you've entered your name and email correctly in the commands above. 3. Check for Spaces: - Remove any leading or trailing spaces in the email address. 4. Override Local Configuration: - If you have a local configuration file (`.git/config`) with incorrect values, try: - Using `--global` flag to override local settings. - Editing `.git/config` manually to fix the email address. 5. Clear Git Cache: - In rare cases, clearing Git's cache might help: ```bash git config --global --unset user.email ``` 6. Reinstall Git: - If the issue persists, consider reinstalling Git to ensure proper configuration. - Visual Studio Users: Go to Git menu > Source Control > Git Repository Settings > General and set the User name and Email. - SmartGit Users: Go to Repository > Settings > Commit and set the User name and Email. Remember: - Use a valid email address that you can access, as Git uses it for commit authorship and communication. - If you're working on multiple projects with different email addresses, set them individually for each repository.
@haskiran1788
@haskiran1788 5 жыл бұрын
Hi Raghav, I followed the same steps as mentioned in video. But, I am getting below error for 1 command: $ git push -u origin master To github.com/Haskiran/Repo1.git ! [rejected] master -> master (fetch first) error: failed to push some refs to 'github.com/Haskiran/Repo1.git' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. Please guide.
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Haskiran, did you try git pull before doing push. Pls check
@haskiran1788
@haskiran1788 5 жыл бұрын
I pulled the Read Me file and its working fine. Thanks much !@@RaghavPal
@ajinkyaraorane6704
@ajinkyaraorane6704 4 жыл бұрын
Sir i am getting error while pushing " failed to push some refs to 'repo url'
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Ajinkya, Pls check your repository url and credentials are correct.
@jeannemccabe5752
@jeannemccabe5752 7 жыл бұрын
Hi again. In the git bash comments it said to try a git pull first. I did that and I don't understand the error msg. "There is no tracking information for the current branch. Please specify which branch you want to merge with." Is there a way I can salvage this and get bk on track with your tutorial? I will await your response before continuing.....Thanks.
@RaghavPal
@RaghavPal 7 жыл бұрын
hi Jeanne, you can specify the branch you want to pull git pull origin masterYou can also try : git pull branch_name Here will be the url of your github repo and branch_name is the name of the branch like master.
@kamithkumar
@kamithkumar 4 жыл бұрын
Hi , I tried to install GIT win after successfully install when check in command but GIT not recognized. Can you help me .
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Amith, after installing, open a new cmd prompt and run command git --version Ensure the setup is properly done as explained
@truongthetank15hl51
@truongthetank15hl51 3 жыл бұрын
How can i use GitHub and GitLab with the same email ? I already have a GitLab account, but now i want to use the email i registered on GitLab to create an account on Github. It is possible ?
@RaghavPal
@RaghavPal 3 жыл бұрын
you should be able to do that, Pls try and check
@BengaliStrings
@BengaliStrings 4 жыл бұрын
you are very helpfull
@RaghavPal
@RaghavPal 4 жыл бұрын
Happy to know it helped Sourav
@rehanahmed4965
@rehanahmed4965 2 жыл бұрын
$ git commit -m "added" Author identity unknown *** Please tell me who you are. How to resolve this Raghav?
@RaghavPal
@RaghavPal 2 жыл бұрын
Hi Rehan, this will help stackoverflow.com/questions/8283915/git-author-unknown
@Seekingtruth-mx3ur
@Seekingtruth-mx3ur 4 жыл бұрын
when i got "git init" the foler is not created. What did I do wrong?
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Torah, have you enabled viewing of hidden files/folders
@Seekingtruth-mx3ur
@Seekingtruth-mx3ur 4 жыл бұрын
@@RaghavPal I just realized that. Thanks.
@TheGarisons
@TheGarisons 8 жыл бұрын
Hi Raghav, When I try to commit I get this message On branch master Initial commit Untracked files: test.txt nothing added to commit but untracked files present C:\Users\Gary\Desktop\GIT> Can you please help. Thanks Jean
@RaghavPal
@RaghavPal 8 жыл бұрын
did you do git add before commit.
@AmanGupta-sg9nh
@AmanGupta-sg9nh 4 жыл бұрын
I found a message "The authenticity of host ' ' can't be established. How can we fix this
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Aman, Pls check if this helps github.com/ome/devspace/issues/38
@AmanGupta-sg9nh
@AmanGupta-sg9nh 4 жыл бұрын
@@RaghavPal hii sir, the above probel was in git bash cmd... Through this guide, it only help to manage repository...
@AmanGupta-sg9nh
@AmanGupta-sg9nh 4 жыл бұрын
@@RaghavPal plz guide me.... To fix the above problem in git bash
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Aman, When i search fro you problem statement on google, there are lots of articles, but not sure which one can help you completely. I will suggest that you try to look into them and see what can help you
@Bujji28243
@Bujji28243 8 жыл бұрын
Once I login in github command framt and how to logout github command framt ,bcz to login another one.
@RaghavPal
@RaghavPal 8 жыл бұрын
Git does not have a direct login / logout option. But you can set/change the user option anytime using: git config user.name git config user.email So while you are inside the repo and you run the above commands, you will start using git with the new user you have specified and all additions/commits will happen with this user. All additions and commit happen with default user set as: git config --global user.name "UserName" git config --global user.email "Email" You can also override global user configs for a particular repo. git config user.name "UserName" git config user.email "Email" To check the current user, run the command git config --global user.name OR git config user.name (this should show the current user) You can also validate the user who will be committing the changes. echo $GIT_COMMITTER_NAME # prints the value of GIT_COMMITTER_NAME echo $GIT_AUTHOR_NAME # prints the value of GIT_AUTHOR_NAME This can be changed by: GIT_COMMITTER_NAME=YourName GIT_AUTHOR_NAME=YourName Hope this helps.
@sakshisyal2526
@sakshisyal2526 6 жыл бұрын
hi! when m using the command- git push -u origin master , its giving me error :src refspec master does not match any. failed: failed to push some refs to 'to my git', any idea?
@RaghavPal
@RaghavPal 6 жыл бұрын
Hi Sakshi, did you commit successfully before pushing. Just check some options here - stackoverflow.com/questions/4181861/src-refspec-master-does-not-match-any-when-pushing-commits-in-git
@sakshisyal2526
@sakshisyal2526 6 жыл бұрын
thanx Raghav , i was able to solve the issue :)
@biswajitbiswal7075
@biswajitbiswal7075 8 жыл бұрын
Hi Raghav,i followed all steps in your video, but while entern " git commit -m "added test1.txt" Getting error : $ git commit -m "added test1.txt" *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got 'admin@admin-HP.(none)') admin@admin-HP MINGW32 ~/Desktop/MyProject (master) $ ^C
@biswajitbiswal7075
@biswajitbiswal7075 8 жыл бұрын
when i gave command : git init, it was not created git folder in myproject folder.
@RaghavPal
@RaghavPal 8 жыл бұрын
Biswajit, check the following: When you type git on command line and enter, do you get git options shown. If not then your git is not properly installed. Also on doing git init a .git folder is created and its hidden, make sure you have checked hidden folders.
@aditilele1
@aditilele1 7 жыл бұрын
How to I check hidden folder?
@parshuram3541
@parshuram3541 7 жыл бұрын
sir how to check hidden folders .git folder is hidden in my project pls help me
@RaghavPal
@RaghavPal 7 жыл бұрын
hope you are on windows. try this support.microsoft.com/en-in/help/14201/windows-show-hidden-files
@Ex_Hindu_Hashhyy
@Ex_Hindu_Hashhyy 3 жыл бұрын
Thankyou
@RaghavPal
@RaghavPal 3 жыл бұрын
Most welcome
@vajraavdharyasumangala3572
@vajraavdharyasumangala3572 7 жыл бұрын
hello Raghav I'm Unable to to do in window cmd
@RaghavPal
@RaghavPal 7 жыл бұрын
Hi V Kumar, hope you have selected the options while installing as mentioned in the video. Please check
@yagzyalcntas553
@yagzyalcntas553 4 жыл бұрын
I set my email and username but still get that message?
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Yağız , Check if this helps stackoverflow.com/questions/35942754/how-to-save-username-and-password-in-git
@Abantsundu
@Abantsundu Жыл бұрын
How I reset git and remove all history,I realy made a mess
@RaghavPal
@RaghavPal Жыл бұрын
Hi Anneline, If you want to completely remove all history and start fresh with a new git repository, you can follow these steps: Delete the .git folder in your project directory. This folder contains all the git history, configuration, and other related files Remove any cached files using the git rm --cached command. This will remove all the files that were previously added to git, but not the actual files from your local directory. Optionally, create a new initial commit by running git init and then adding and committing your files. Finally, if you want to start using the repository with a remote git repository, you can add the new remote by running git remote add origin and push the new initial commit using git push -u origin master. It's important to note that by doing this, you will lose all the previous history and changes made to the repository. Therefore, you should only do this if you're certain that you want to completely start fresh with a new git repository.
@Abantsundu
@Abantsundu Жыл бұрын
@@RaghavPal thank you I'll try
@mokhalada4826
@mokhalada4826 3 жыл бұрын
did yo have a program on your Mac to give you windows? if so how?
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi, that is a remote system
@akashsinha4583
@akashsinha4583 4 жыл бұрын
hidden folder not getting generated
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Akash, pls check in your settings if you have enabled viewing of hidden folders On windows OS, In the search box on the taskbar, type folder, and then select Show hidden files and folders from the search results. Under Advanced settings, select Show hidden files, folders, and drives, and then select OK.
@esmailpaltasingh9691
@esmailpaltasingh9691 4 жыл бұрын
fatal error unable to access how to solve this
@RaghavPal
@RaghavPal 4 жыл бұрын
Replied to your other comment. Pls check.
@shakirabanulattannavar743
@shakirabanulattannavar743 7 жыл бұрын
use full videos .
@RaghavPal
@RaghavPal 7 жыл бұрын
i am glad it was useful
@celinexu6598
@celinexu6598 7 жыл бұрын
Thank you. But when I follow the intruction. I can not see any .git FOLODER generate in the target file. But when I re-run the commend it says 'reinitialized existing git repository in....' so seems it is there. any suggestion how could I see that file? Thank you
@RaghavPal
@RaghavPal 7 жыл бұрын
Hi Celine, .git is a hidden folder. Make sure you have show hidden files and folders option enabled.
@VijayKumar-xx2wf
@VijayKumar-xx2wf 6 жыл бұрын
Hi All, trying to setup new project repository but while pushing it for furst time getting below error "git push -u origin master error:- fatal: unable to access 'github.com/vijay150687/Rep1.git/': error:14077419:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert access denied even i have run these commands git config --global user.email "myemailid" and git config --global user.name "myusername" please help me on this to resolve
@RaghavPal
@RaghavPal 6 жыл бұрын
What is the git version you are using. In some of the online searches i found upgrading git resolved this.
@VijayKumar-xx2wf
@VijayKumar-xx2wf 6 жыл бұрын
the git version is "git version 2.15.1.windows.2" , i am using this version
@RaghavPal
@RaghavPal 6 жыл бұрын
Okay did you try upgrading? I found this as one of the solutions online. You can search too and see if this helps
@VijayKumar-xx2wf
@VijayKumar-xx2wf 6 жыл бұрын
i have upgraded to latest version that is "git version 2.16.1.windows.4".but no look still i am getting same error
@RaghavPal
@RaghavPal 6 жыл бұрын
Can you check with some options online. Not sure why are you facing this.
@t.ssahil3074
@t.ssahil3074 7 жыл бұрын
That interface is telling like "please tell me ur name and all" When I am trying to git commit
@RaghavPal
@RaghavPal 7 жыл бұрын
you can add your username and email once help.github.com/articles/setting-your-username-in-git/
@bmkrissh8714
@bmkrissh8714 5 жыл бұрын
Just began this lab.....and error :( Please advise $ git push -u origin master To github.com/bmkrishna99/Repo1.git ! [rejected] master -> master (fetch first) error: failed to push some refs to 'github.com/bmkrishna99/Repo1.git' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details.
@RaghavPal
@RaghavPal 5 жыл бұрын
What is the error
@bmkrissh8714
@bmkrissh8714 5 жыл бұрын
@@RaghavPal Hi Raghav, thanks for the reply. It was due mismatch in username and email ID that was being used. The git picked up my office email but my account was gmail based. It is resolved now :)
@RaghavPal
@RaghavPal 5 жыл бұрын
Glad to know this
@phanindravarma2389
@phanindravarma2389 4 жыл бұрын
your keyboard is making more than you
@RaghavPal
@RaghavPal 4 жыл бұрын
Sorry for that. will improve
@PkStudio56
@PkStudio56 5 жыл бұрын
Successfull configured Thanks
@RaghavPal
@RaghavPal 5 жыл бұрын
Great
Git and GitHub Beginner Tutorial 2 - Getting started - Install Git (mac)
18:53
Automation Step by Step
Рет қаралды 217 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Git and GitHub Beginner Tutorial 1 - Introduction
13:06
Automation Step by Step
Рет қаралды 204 М.
GitHub Actions Tutorial - Basic Concepts and CI/CD Pipeline with Docker
32:31
TechWorld with Nana
Рет қаралды 1,6 МЛН
Visual Studio Code | How to use git and github
16:21
Automation Step by Step
Рет қаралды 569 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,3 МЛН
Git Merge vs Git Rebase for Beginners
22:24
Automation Step by Step
Рет қаралды 104 М.
The best way to add WebdriverIO Project to Git and GitHub
23:08
Automation Step by Step
Рет қаралды 4,6 М.
Git Tutorial for Beginners: Learn Git in 1 Hour
1:09:13
Programming with Mosh
Рет қаралды 2,6 МЛН
Learn GitLab in 3 Hours | GitLab Complete Tutorial For Beginners
3:26:43