8
1
Fork
You've already forked internet-drafts
0

Add conventions to readme #40

Open
opened 2022年12月09日 19:55:19 +01:00 by bernie · 0 comments
bernie commented 2022年12月09日 19:55:19 +01:00 (Migrated from gitea.pep.foundation)
Copy link

Git Instructions

  • All changes go via branch and Pull Request

  • No longer direct commits to master

To create a new branch and work on it:

  1. $ git checkout master

  2. $ git pull

  3. $ git checkout -b <name-of-new-branch>

  4. Update files

  5. $ git commit -m "<commit message>"

  6. $ git push --set-upstream <name-of-new-branch>

    • This provides you a URL to create a pull request
  7. Create that pull request, but set it to WIP (Work In progress)

  8. Continue to commit on the new branch and push.

    1. Update files

    2. $ git commit -m "<commit message>"

    3. $ git push

Basic helper functions:

  • To verify on which branch you are you may use

    • $ git branch

    and/or

    • $ git status
  • In case you end up on another branch use

    • $ git checkout <name-of-new-branch>
  • If there was a change on master, you can rebase (synchronize) your branch with the changes as follows (on your branch):

    • $ git pull --rebase origin master

    or alternatively (step-by-step):

    1. $ git checkout master

    2. $ git pull

    3. $ git checkout ;

    4. $ git rebase master

If there are conflicts during rebase, you neeed to resolve those. You may use, e.g.

  • $ git rebase -i

New style for linefeeds in .mkd docucuments

  • One line per sentence

    • Reason: changes are better visible in diffs
  • So far only pep-keyreset, pep-general and pep-email has been converted completely to the new style

    • Whenever you touch something, please use the new style for linefeeds for inserts or around the changes to gradually convert the documents to new style
**Git Instructions** * All changes go via branch and Pull Request * No longer direct commits to master To create a new branch and work on it: 1. $ git checkout master 2. $ git pull 3. $ git checkout -b \<name-of-new-branch\> 4. Update files 5. $ git commit -m "\<commit message\>" 6. $ git push --set-upstream \<name-of-new-branch\> * This provides you a URL to create a pull request 7. Create that pull request, but set it to WIP (Work In progress) 8. Continue to commit on the new branch and push. 1. Update files 2. $ git commit -m "\<commit message\>" 3. $ git push Basic helper functions: * To verify on which branch you are you may use * $ git branch and/or * $ git status * In case you end up on another branch use * $ git checkout \<name-of-new-branch\> * If there was a change on master, you can rebase (synchronize) your branch with the changes as follows (on your branch): * $ git pull --rebase origin master or alternatively (step-by-step): 1. $ git checkout master 2. $ git pull 3. $ git checkout <your branch>; 4. $ git rebase master If there are conflicts during rebase, you neeed to resolve those. You may use, e.g. * $ git rebase -i --- **New style for linefeeds in .mkd docucuments** * One line per sentence * Reason: changes are better visible in diffs * So far only pep-keyreset, pep-general and pep-email has been converted completely to the new style * Whenever you touch something, please use the new style for linefeeds for inserts or around the changes to gradually convert the documents to new style
Sign in to join this conversation.
No Branch/Tag specified
master
add-hcp
hm-update-links
header-protection-related-changes
issues_100-101
sva-edits
No results found.
Labels
Clear labels
ID-pEp-handshake
Affecting pEp Handshake I-D
bug
Something is not working
Deferred
No priority for this for the time being
disscussion
Internal disussion
duplicate
This issue or pull request already exists
enhancement
New feature
From Jira
Ticjket copies over from old Jira System
help wanted
Need some help
High Prio
ID-pEp-email
Affecting pEp Email I-D
ID-pEp-general
Affecting pEp General I-D
ID-pEp-KeyReset
Affecting pEp KeyReset I-D
ID-pEp-KeySync
Affecting pEp KeySync I-D
ID-pEp-rating
Affecting pEp Rating I-D
ID-pEp-trustwords
Affecting pEp Trustwords I-D
ID-sml-auto-processing-marker
SML auto processing marker Intenet Draft
In Review
PR submitted, await review
invalid
This is not an issue (e.g. misunderstanding)
Major Challenge
Not sure this can be completed in time
Not implemented yet
Not implemented in the Engine yet
question
More information is needed
task
tasks and TODOs
wontfix
This won't be fixed
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pEp/internet-drafts#40
Reference in a new issue
pEp/internet-drafts
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?