extremely straightforward and practical, much appreciated, and I'm sure my team will appreciate me not ruining the master and endless merge conflicts, memeing myself
@johannesluken9493 жыл бұрын
helped a lot!! :) Thank you!
@8koi245 Жыл бұрын
kekW
@NukhbaAhmadAli4 ай бұрын
Facing the same issues....Accidentally created the merge for master or pr for wrong branches i am messing it up
@zb27472 жыл бұрын
A lot of tutorials on youtube regarding this but you my friend have made it simple and without the 'fluff' - straight to the point and with a simple practical example.
@HimmReaper2 жыл бұрын
Well explained! I was struggling trying to understand how to do certain functionality prior to watching this and now my questions have been answered. Thank you!
@akodev Жыл бұрын
Anything I can do! This was something I struggled with early on as well. Let me know any topics you’d like to hear!
@Juanah924 жыл бұрын
This was great in portraying the actual practicality of git/github. I needed this, thanks.
@its.arjun.s3 жыл бұрын
Thank you so much for this... I was confused watching a lot of other tutorials but this cleared my doubts
@LinLin-lg9qt3 жыл бұрын
Thanks for this very helpful and practical tutorial. This is the video that I am looking for after learning the basic knowledge of Git.
@krishnavamshimudi66243 жыл бұрын
one of the best shortest practical video explanation on github. I have seen many videos they are only theory and even some of them are not showing practical but u r video is just like begginer of the github can even understand it tq very much
@arekhandiaharry44902 жыл бұрын
Thank you so much. You’ve answered all my questions on collaborations.
@boredguy5805 Жыл бұрын
So helpful for us noobs man, thank you for making this
@Jeff24Y Жыл бұрын
Thank you so much for the video! This has helped me tremendoulsy at my first job! Also the book Code Complete that you suggested in the video description is a winner! A big big big reason why i was able to get past some of my tech interviews while applying to jobs. If you haven't read code complete i highly suggest checking it out. Link in bio!!
@akodev Жыл бұрын
Thrilled to hear the video made a difference for you! "Code Complete" is indeed a gem. Always happy to share resources that can uplift the community. Keep pushing forward!
@grantdoyle12592 жыл бұрын
This was a great video for me to document the git process for my team, thanks!
@the_new_a13 жыл бұрын
Can someone help me understand, Why does it cause a merge conflict when the changes are made the second time? What was different from the first pull request that didn't cause conflicts? Thanks
@CengizSalgin2 жыл бұрын
it was because he made the change in the same line. git didnt know which one to chose so you have to do it manually. that happened when he chose to use the new change instead of the old one in master. Hope that helps! :)
@kuoyulu6714 Жыл бұрын
Thanks for this video, I learn a lot from this!
@akodev Жыл бұрын
Of course! Let me know if there’s any other topics you’d want to hear!
@keifer78132 жыл бұрын
Just what I needed, legend
@AbdurrahmanASUR2 жыл бұрын
same
@yuvraajkandel17052 жыл бұрын
That's an awesome practical tutorial.. Thanks
@akodev2 жыл бұрын
Glad it was helpful!
@Razordreamz Жыл бұрын
what is the -A parameter used for? Looks like an "all" but git add already does that so it's why i'm asking.
@akodev Жыл бұрын
you are right, and this is mroe a habit, nowadays git add defaults behind the scene to git add -A. here is what the official documentation says: ``` -A --all If no is given when -A option is used, all files in the entire working tree are updated (old versions of Git used to limit the update to the current directory and its subdirectories). ```
@CengizSalgin2 жыл бұрын
but shouldnt the pull origin master be before pushing the feature branch?
@WordsThroughTheSky3 жыл бұрын
nice video, what extension/module in iterm shows the branch like how you have it? I want to try it too :)
@akodev3 жыл бұрын
Here is a link that can help you set it up gist.github.com/kevin-smets/8568070 let me know how it goes
@WordsThroughTheSky3 жыл бұрын
@@akodev thank you! That’s what I was looking for :)
@CodeandDream4 жыл бұрын
Nice video 😆 this will definitely come in handy
@CengizSalgin2 жыл бұрын
Great video! Super clear and to the point! A lot of other tutorials dont cover the team working workflow but this is gold! What about using more branches like release and hotfix? Are there good examples how to use those? Greetings from germany 🙂
@joshuahuang3665 Жыл бұрын
I like how you get to the point with this video. Great examples showing a successful merge and resolving a conflict. When you are on a tix-5 branch, does that the tix-5 branch show up on your local file directory? I see you can confirm which branch you are on in the terminal, but I am curious if you can visualize it when you're working on local? thank you.
@aniketpattiwar4816 Жыл бұрын
Use VS code ..to visualize on locally
@akodev Жыл бұрын
if you want to see local branches ' git branch ' and if you want to see the remote branches (those on your github) then do ' git branch -r ' let me know if that helps
@searching_knowledge_tjk10 ай бұрын
I was curious about the private repo, how I will add contributors, and how to put limited access, such as branches, so they could not push changes to the repo as origin main or master.?? Thank you very much!!!
@akodev3 ай бұрын
ill make a video about this, probably a short. give me a week from the date of this comment
@albinjoalex20862 жыл бұрын
Thanks a lot , u have saved a lot of hours for me
@thestophewatts66892 жыл бұрын
Great simple video, helped me a lot, thank you!
@husnainabbas4407 Жыл бұрын
Amazing...
@akodev Жыл бұрын
Appreciate it! Anything I can do!
@hannesbeukes3452 жыл бұрын
shoutout to all the oldschool coders that did not abandon SVN for git
@FlutterPythoncombo9 ай бұрын
Loving it , Thanks man!
@akodev6 ай бұрын
Glad to hear it!
@Veectory3 жыл бұрын
Cant believ you only have 82 subs. Cheers!
@Laflamablanca9693 жыл бұрын
Good video! Thanks for making it very simple
@johnconnor97872 жыл бұрын
Please, can anyone help When you clone repository - did you do it on the companies repository or we should fork, and clone from the copy of our account?
@akodev Жыл бұрын
sorry for the delayed response, but you dont need to fork it, you should be able to clone the repo locally.
@super7ace Жыл бұрын
Thank you so much. Very informative video.
@akodev Жыл бұрын
Anything I can do to help! Please let me know if there are other topics you’d like to hear about!
@alejandrogalinamata22343 жыл бұрын
amazing! i was looking for this information and u made it! Thanks a lot
@akodev3 жыл бұрын
Glad it was helpful! let me know if you have any other things you looking for, always looking for ideas for content
@CarlosPereira19733 жыл бұрын
Thank you for the nice explanation
@michaelcheung6290 Жыл бұрын
This is the best! Can you tell us more what happens if you find sth wrong after pushing to origin
@TinyGhost42 Жыл бұрын
hey, how'd you get your terminal to look like that?
@akodev Жыл бұрын
I have the cobalt theme, and im using iterm2 with oh-my-zsh.
@LavanyaD-n7c7 ай бұрын
Constantly pull from master ? Or branch we create day by day?
@akodev7 ай бұрын
Pull from master to keep your branch up to date
@emirhansozan89933 жыл бұрын
Appreciate your work, well explained :)
@sarvarjuraev1376 Жыл бұрын
Thanks a lot. Very useful and straightforward 🙌🙌
@akodev Жыл бұрын
You're welcome!
@zaranadesai46322 жыл бұрын
Extremely helpful! Thanks!
@akodev2 жыл бұрын
Glad it helped!
@itsadityas3 жыл бұрын
Great video! Really really helpful..🙌🙌🙌🙌
@philfai-pp5wf3 жыл бұрын
Question abt creating the pull request at 5:28. Is the assumption here that all team members have access to this github account, hence can create the pull request from within the account UI?
@akodev2 жыл бұрын
Anyone can make a pull request, as long they have read access (not private repo)
@danneytee2 жыл бұрын
Question: what is the point of delete the older ticket branch if it doesnt remove the branch on github?
@williamavasquez2 жыл бұрын
People like to see what branches they actually are working on, so instead of having a lot of dead branches, it cleans it up and is easier to see where you are or what you have outstanding
@chuckwalla29672 жыл бұрын
@@williamavasquez If they leave those branches on the remote, doesn't that mean the next time you pull from that repo, those branches will get created again locally?
@StockWithSayee2 жыл бұрын
Greattt Video was very helpful
@mikefochtman71643 жыл бұрын
I see you delete the branch after fixing up the ticket on the local repo, but what about the repository on git-hub? Is that deleted when you do another 'push', or what?
@akodev3 жыл бұрын
Unless you push the command ( git push origin --delete nameOfBranch) we have only deleted it locally.
@rajeshs88462 жыл бұрын
Does pushing local branch to github automatically creates pull request( merging the branch to master branch) ?
@akodev2 жыл бұрын
no it does not, on github it shows a suggestion, but its not automatic (can you make it automatic, we can make a video how to do that)
@Tyheir Жыл бұрын
Awesome video, I had so much trouble resolving merge conflicts before. Is there a certain extension needed in VScode to get those accept changes options?
@williamavasquez Жыл бұрын
nope, it should just come up, you can always try to restart vscode if it doesnt pick it up.
@MichaelCheung-z2v5 ай бұрын
Here's a scenario: Time 1: A created a feature branch based on master. Time 2: A worked on 1 commit on the feature branch. Time 3: There is a new commit (maybe a merge) in the master branch. Time 4: The next day, A wants to continue to work on the feature branch. Question: Should he do a git pull in the morning before doing his work? Also, after the pull, how should he incorporate the changes in master into his feature branch? Or should he? Lastly, if the changes in master totally removed some main functions where his feature branch is based on, what should he do? Thank you!!
@akodev3 ай бұрын
Yes, when you come in, you should always do a pull into your feature branch, this will make it easier when merging back into main/master to clarify the direction of the merge should be from Master/main --> yourFeatureBranch one more question to help, the only way that they can delete something you are working on, is if you merge your branch into main, but once thats done, why are you continuing with the feature branch?
@snowman60004 жыл бұрын
Great Video!
@ДаниилМирошник-ц4д Жыл бұрын
Thank you very much!
@anshab12322 күн бұрын
Thank you for the video
@ShubhamKumar-mk6zb11 ай бұрын
helped much! Thank you!!
@ajk71513 жыл бұрын
excellent video!
@Dahey693 жыл бұрын
Do you clean the tix branches from the server or do they need to stay there?\
@akodev3 жыл бұрын
it depends on the team, I like to clear it out of my local, some places purge branches every quarter. so its all about preference.
@chuckwalla29672 жыл бұрын
@@akodev If they leave those branches on the remote, doesn't that mean the next time you pull from that repo, those branches will get created again locally?
@prakashmukta2 жыл бұрын
Awesome Explanation. Very Straight forward. Can you clarify my doubt. I am new to git. In your video when you pushed new branch to remote. Branch created in Origin with All Files, in that Branch we see all files instead of just Committed files. You committed only one file right .. But we see 2 files in that newly created branch. In My Project I have 100's of files For every small change if i push that branch, All files will be pushed. Can i Create New Branch with Only Committed files ? Thank You
@akodev2 жыл бұрын
Hey Prakash, when you create a new branch, you are making a temporary copy, when making changes only those changes will be pushed, no need to be pushing 1000's of files. thats why git is so cool, because it only updates the files where changes have been made. I would probably check if your .git, is not outside of the original repo folder.
@quackdoescrck30093 жыл бұрын
Question : Which files to never push to github .. for example the google-json file in mobile development?
@akodev3 жыл бұрын
Its going to depend on the language, but in JS I would avoid the node_module, .env file (passwords, keys etc) and if you on a mac the DS_Store.
@1001-w5q3 жыл бұрын
everything others don't necessarily need to run the project smoothly (vscode folder, node_modules) and sensitive information. If you use create-react-app, that will add all of those to gitignore.
@tesohh3 жыл бұрын
@@akodev where is the .env file?
@akodev3 жыл бұрын
You would have to create the .env file. Also if you use a .gitignore file you can name the files/directory’s you don’t want to push to git
@juhairahamed53423 жыл бұрын
Good explanation
@samtech61813 жыл бұрын
thank you bro, very useful!
@doomer46363 жыл бұрын
very good video
@lukas73382 жыл бұрын
why "pull origin master" when you are about to delete the branch?
@williamavasquez2 жыл бұрын
this is so it does not cause merge conflicts with master
@psychoonaut3 жыл бұрын
Thanks a lot. It really helped me
@dev.toolkit2 жыл бұрын
much appreciated brother
@robinthomsoncomposer3 жыл бұрын
Very helpful indeed
@quachhengtony76513 жыл бұрын
Should I use git add . or git add -A?
@jameskulu3 жыл бұрын
git add . is used by most of the people. But you can use any.
@akodev3 жыл бұрын
James is correct, some people prefer -A but either one works.
@doufreen-87013 жыл бұрын
Thanks man, that's so usefull
@hakimfazal4263 жыл бұрын
outstanding video
@akodev3 жыл бұрын
Thank you so much 😀
@bobweee8883 жыл бұрын
do you have video how to step this up?
@akodev3 жыл бұрын
Bob, setting what up? if you let me know we can make a video
@bobweee8883 жыл бұрын
@@akodev the entire workflow how stepup best practice for git fork pull merge for team type thing
@shibu34482 жыл бұрын
Thanks a lot!
@jayavaiya94004 жыл бұрын
thanks , this is helpful
@khaledkachkorian24863 жыл бұрын
Hello william, excellent video. It explains the practical part of git, and not the theory. A question please, if you are searching to do another video on git, can it be about fetch. The complete practical side of fetch vs the pull. Remember, we do not want a theoretical explanation, we need a practical logic from your experience. Thanks a lot
@williamavasquez3 жыл бұрын
kzbin.info/www/bejne/Z6KyapiQdrOJnbM&ab_channel=AkoDev We made this one :) let us know what you think
@geraldbustos3 жыл бұрын
Gracias!
@Simon-vz9uw3 жыл бұрын
Thank u so much!
@aaryan34613 жыл бұрын
nice video man
@akodev3 жыл бұрын
Appreciate it
@ILikeItPicasso2 жыл бұрын
Thanks man
@myworld734732 жыл бұрын
Thank you.
@Mfbzai Жыл бұрын
Wonderfull
@zylascope3 жыл бұрын
Thanks.
@markcuello5 Жыл бұрын
HELP
@akodev Жыл бұрын
Is there something I can do to help?
@Prinjal_Boruah3 жыл бұрын
don't know git is so confusing for me
@akodev3 жыл бұрын
... wanna know a secret? (I dont know what im doing! no one know!!)