while in your projects folder/directory : git init -b main / add and commit files if any / gh repo create / Push an existing local repository to GitHub / follow interactive mode
Working on Windows 11, I was able to just do "npm install -g gh" to install it globally. Update: when I did that, the 'gh auth login' command failed - it asked me the 1st question OK, but gave no prompt for the 2nd. It's probably because I had previously installed GitHub CLI using an msi installer, but now I'm afraid to remove it and check. It would be much better to be able to just install it using npm - no going to a web site, downloading a file, running the file, etc.
3:27 The gh config set editor "code --wait" command is working on Windows too. I could set up VSCode as my default text editor using it
Oh wow! The CLI documentation says only Notepad is supported on Windows. I did not cross check, but this is great if it works
Excellent walkthrough. Thank you!
Thank you, this is the first good tutorial that I find in al RUclips.
Glad it was helpful!
Nice walk through. I look forward to seeing more features being added through open source.
This is a very useful tool
Great.
Nice explanation, liked and subscribed 🤘
while in your projects folder/directory : git init -b main / add and commit files if any / gh repo create / Push an existing local repository to GitHub / follow interactive mode
Somehow gh repo create does not enter interactive mode like in the video but needs flags instead. Did that change?
i dropped the repo name, then it goes into interactive mode
Is there a way to add a file to a repo? like "git add ." or is there no equlivant of this.
Working on Windows 11, I was able to just do "npm install -g gh" to install it globally.
Update: when I did that, the 'gh auth login' command failed - it asked me the 1st question OK, but gave no prompt for the 2nd. It's probably because I had previously installed GitHub CLI using an msi installer, but now I'm afraid to remove it and check. It would be much better to be able to just install it using npm - no going to a web site, downloading a file, running the file, etc.
Which terminal software do you use?
awesome vid man !
Superb
awesome
If someone want quick start, check the stackoverflow link below
stackoverflow.com/questions/28385884/how-to-create-repository-in-github-through-github-api/63075043#63752485
Hey, can you share your .bashrc
possibly he using zsh with p10k
Yes!