I have a local copy of all files from some Git repository in a uninitialized directory, i.e. not tracked by Git (without .git in it) and I've introduced some changes to it. How do I push those changes to the remote Git repository?
These actions can describe what I mean:
git clone … ./
- repository clonedrm -Rf ./.git
- repository no longer initializedvi ./somefile
- some changes introduced
In a more practical aspect:
I have a cloned directory of some library created by bower
dependency management tool. I've introduced some changes to this library and now I want to push those changes to the master.
I'm looking for a smart way to re-initialize this directory with Git and to push changes as a single commit to the remote repository.