DEV Community

Eliyahou
Eliyahou

Posted on

git-scm on Windows, GitHub contribution workflow

How to add/edit files to GitHub from my Windows environment:
first - download notepad
second - download git-scm
//Do not forget to choose Notepad as the default editing program

I have added an organization as yaml file to
open-source-by-organizations site by the following instructions:

$ git clone https://github.com/OSDC-Code-Maven/open-source-by-organizations.git //
Cloning into 'open-source-by-organizations'
$ cd open-source-by-organizations/)
$ cat .git/config
$ git checkout -b organizations/add
Switched to a new branch 'organizations/add'
$ git status
On branch organizations/add
nothing to commit, working tree clean
$ cd data/organisations/
$ notepad jce.yaml
$ git remote -v
origin https://github.com/OSDC-Code-Maven/open-source-by-organizations.git
(fetch)
origin https://github.com/OSDC-Code-Maven/open-source-by-organizations.git
(push)
$ git push --set-upstream fork organizations/add
$ git add jce.yaml
$ git commit -m "add jce organization"
[organizations/add 0737ede] add jce organization
1 file changed, 5 insertions(+)
create mode 100644 data/organisations/jce.yaml
$ git rebase main
$ git push --force

Image of Docusign

Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more