Tag: github for windows

How do I add a local directory into github repository

I am trying to add a whole directory into github. Below are the codes I am using to do that. the commit and push doesn’t show anything new because I repeated the process to paste here; but those are commands I followed. It adds the directory but I can not access the files inside. It […]

How to move folders in github repo from sub-folder to parent folder and delete the now empty sub-folder?

I am taking an online course, and my repository for that course is as follows – Course Repo Course Term 1 Project 1 Project 2 Project 3 I initially planned to add additional Terms under the same parent folder/repo of “Course Name”. Instead, I decided to have different repos for different Terms. So now I […]

git on command line using github git

I have github git 2.14.1 installed on Windows 10 from this URL: https://git-scm.com/download/win How do I get access to the git command such that I can invoke it from the cmd or powershell commandline? What I really want to do is invoke it from Python using subprocess.Popen(‘somepath/git log –follow’ …), but I figure if I […]

uploading the code to the repository created

I have installed Git for Windows. There is both a graphical shell and a shell with CUI. I have created a repository using the graphical shell : How do I push the code to the Git repository ? In the repository URL, I see this push URL : git remote add origin https://github.com/suhailgupta03/Nappster.git git push […]

Github asking for username and password/messed up installation

I decided to learn how to use github about a month ago, and I went through the whole setup process for windows. It was fairly long from what I remember, but I stopped using it after that first day. I totally forgot where I started doing github projects (I mean what directory I started doing […]

Change git root folder

I have used the Github desktop application to manage my Github repository. I have the following folder structure: myRepo/ config/ mappings/ src/ bin/ eclipse/ lib/ README.md LICENSE.md How would I go about making src the main folder of my repository so it will only commit files inside src while retaining the files README.md and LICENSE.md […]

is an open port 9418 enough for a GitHub client to fully function?

I want to use GitHub clients from user accounts on a server where they are not supposed to be able to go online otherwise. The GitHub Windows app does not even install without users’ downloading it themselves (see my previous question on SuperUser), but also for my regular use, I need to know the bare […]

“git push origin master” stop in half way

When i use “git push origin master”.Git stop when it comes to “Total XXX ,reused 0 < delta 0>”.It looks like below image. I hope some kindful man can help me to fix this question. Normally, Git should come to lines like below

issues with downloading project files from git

when i try to clone this repository: git clone git@github.com:laravel/laravel.git I get this error: “Cloning into ‘laravel’… Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.” Can anyone point me in the right direction? I am a newbie to both git […]

How to create an existing Git repository

I’ve got a repository. When downloading this repo, instead of cloning it, it seems that I accidentally simply downloaded the source instead. Now I’ve come to commit my changes and noticed that the folder I’m working in is, in fact, not a repository at all but just some random folder. I’ve found various ways of […]

Git Baby is a git and github fan, let's start git clone.