No video

GIT: Git Flow Feature Branch and Pushing to Github

  Рет қаралды 67,994

CodeOps Show

CodeOps Show

Күн бұрын

In this episode we show you how to create a feature branch. We also show you how to generate a key pair that will allow you to authenticate your computer with your github account so you can push your to your repository hosted on Github.
The feature branch can help you ensure that members of your team are working on the right part of the code. It isolates the 'workspace' for individual members on the team, or teams working on the same branch. The feature branch references the develop branch which is mapped to the staging server.
Before we can push to github we need to generate the ssh key pair so that we can authenticate the computer to github without using username and password. This can help speed up your workflow.
#LINKS
Google HackFair Bangkok (participant) - bit.ly/1TRpCK0
Google HackFair Bangkok (exhibitor) -bit.ly/1OJRzUa
#SOCIAL
Facebook - / codemy.net
Twitter - / codemynet
Website - www.codemy.net/

Пікірлер: 17
@oridavid1931
@oridavid1931 3 жыл бұрын
In my past I studied many cs subjects, but I was never that excited from a tutorial. I have changed my entire work flow. now I program much better using git.
@tuubz
@tuubz 8 жыл бұрын
What a small world this is.... This might sound very strange, but I am watching your video in the connectica office, like right NOW. Life is full of surprises!
@Ones_Complement
@Ones_Complement 7 жыл бұрын
Why did you use git add -A before git commit -am? I thought you said -am adds files as well?
@name-vi6fs
@name-vi6fs 5 жыл бұрын
The public key is used for encryption. The private key is used to decrypt. That's why anyone can have the public key, but losing the private key is a disaster.
@MichaelThomasDev
@MichaelThomasDev 8 жыл бұрын
It would be really good if you could demonstrate how deployment services like Beanstalk fit into the equation, or not as the case may be - I know you can write your own hook that will automatically pull changes from your remote repo into your server, but if I were to try doing that I'd be worried that I'm just blindly copying and pasting code... is that where things like Beanstalk come into play?
@ToadyEN
@ToadyEN 4 жыл бұрын
I shared this with my mum and she didn't understand.
@OscarGarcia-dg6is
@OscarGarcia-dg6is 6 жыл бұрын
You created the keys inside the folder and then moved to another folder where you already had the keys. The folder ~/.ssh didn't even exist in my computer and it was not created when the keys were generated.(using a mac with Sierra) When attempting to use these steps... it took me to a " Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. " I used every chmod permission change combination possible for every file and folder and it didn't work. Something is not right.
@whale9982
@whale9982 6 жыл бұрын
Hi, I want to ask a question. After I created my key-pair, everything works fine except that terminal asks me to enter passphrase for key '/Users/#myname#/.ssh/id_rsa' in commend: git push origin master, git push origin develop, git flow feature publish a-new-feature(3 times). Is this correct? In the video, you don't have any password verification. Is there anything strange in my key pair settings?
@miklosmoricz
@miklosmoricz 3 жыл бұрын
How to get this git prompt for zsh or bash on Mac OS? I've already googled around without success.
@miklosmoricz
@miklosmoricz 2 жыл бұрын
@@codeops-show in the meanwhile, I've found it out, but which theme or plugins do you have?
@TT-ud5gf
@TT-ud5gf 7 жыл бұрын
Just a note for myself: flow-publish = git-push
@TT-ud5gf
@TT-ud5gf 7 жыл бұрын
What if 2 people work on the same feature branch?
@rinchen7407
@rinchen7407 7 жыл бұрын
how am i connect my terminal with GitHub?
@sajaadkhan6054
@sajaadkhan6054 3 жыл бұрын
sir when i try to push using "git push origin master" it says "git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists." what does that mean? i have done everything the way u told in video. like i am on master branch i have generated and added key to the github i have added the repository ssh url to the git bash. but still it does not work.. please help me out.. And thank you very much for making the wonderful videos
@rinchen7407
@rinchen7407 7 жыл бұрын
I am lost from when you start with GitHub. I don't get result you get. after the cd ~/.ssh, I am getting something like "Enter passphrase (empty for no passphrase )" and then there is key sign. how am suppose to do that?
@armelchiza3771
@armelchiza3771 7 жыл бұрын
[for future audiences with the same question : ] just keep pressing enter.
@rakeshroy7986
@rakeshroy7986 8 жыл бұрын
git flow feature start a-new-feature Switched to a new branch 'feature-a-new-feature' Summary of actions: - A new branch 'feature-a-new-feature' was created, based on 'develop' - You are now on branch 'feature-a-new-feature' Now, start committing on your feature. When done, use: git flow feature finish a-new-feature ... .. Why my new branch created as 'feature-a-new-feature' and not 'feature/a-new-feature' ?
GIT: Git Flow and Github Pull Request
6:54
CodeOps Show
Рет қаралды 41 М.
How GIT works under the HOOD?
16:01
Tech With Nikola
Рет қаралды 194 М.
7 Days Stranded In A Cave
17:59
MrBeast
Рет қаралды 82 МЛН
Git MERGE vs REBASE: The Definitive Guide
9:39
The Modern Coder
Рет қаралды 105 М.
Git Flow Like a Pro!
20:23
London App Developer
Рет қаралды 47 М.
Git Tutorial: Fixing Common Mistakes and Undoing Bad Commits
21:31
Corey Schafer
Рет қаралды 382 М.
Git vs. GitHub: What's the difference?
10:06
IBM Technology
Рет қаралды 388 М.
Git Tutorial For Dummies
19:25
Nick White
Рет қаралды 1 МЛН
Git Tutorial - Git Crash Course using BitBucket
36:03
Emad Zaamout
Рет қаралды 193 М.
GIT: Merging and Workflow
7:10
CodeOps Show
Рет қаралды 132 М.
7 Days Stranded In A Cave
17:59
MrBeast
Рет қаралды 82 МЛН