Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forking wiki #9

Closed
dcsan opened this issue Jul 28, 2015 · 3 comments
Closed

forking wiki #9

dcsan opened this issue Jul 28, 2015 · 3 comments
Assignees
Labels

Comments

@dcsan
Copy link
Owner

dcsan commented Jul 28, 2015

@QuincyLarson can you give me access to FCC main repo?
so i can read/write the wiki files from a local checkout.

it maybe best to setup the wiki content in a separate repo so we can allow edit/commit rights on that without changing permissions for main FCC repo, then you can allow other editors to check out the files locally and edit, not just via the browser UI.

there are other ways to fork wikis
https://gist.github.com/larrybotha/10650410

@dcsan
Copy link
Owner Author

dcsan commented Jul 28, 2015

FYI @QuincyLarson

@dcsan
Copy link
Owner Author

dcsan commented Jul 28, 2015

➜  freecodecamp.wiki git:(master) git checkout -b dcsan
Switched to a new branch 'dcsan'
➜  freecodecamp.wiki git:(dcsan) sub test.md
➜  freecodecamp.wiki git:(dcsan) gst
On branch dcsan
Untracked files:
  (use "git add <file>..." to include in what will be committed)

    test.md

nothing added to commit but untracked files present (use "git add" to track)
➜  freecodecamp.wiki git:(dcsan) ✗ git add .
➜  freecodecamp.wiki git:(dcsan) ✗ gca
[dcsan 0b7d25e] testing fork add wiki file
 1 file changed, 1 insertion(+)
 create mode 100644 test.md
➜  freecodecamp.wiki git:(dcsan) git push
ERROR: Permission to freecodecamp/freecodecamp.wiki.git denied to dcsan.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
➜  freecodecamp.wiki git:(dcsan) git status
On branch dcsan
nothing to commit, working directory clean
➜  freecodecamp.wiki git:(dcsan) cat .git/config 
[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
    ignorecase = true
    precomposeunicode = true
[remote "origin"]
    url = git@github.com:freecodecamp/freecodecamp.wiki.git
    fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
    remote = origin

@dcsan
Copy link
Owner Author

dcsan commented Jul 30, 2015

not for now.

@dcsan dcsan closed this as completed Jul 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants