Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7555611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:39:15+00:00 2026-05-30T11:39:15+00:00

I am using github. I’m trying to figure out how to restrict repo access

  • 0

I am using github.

I’m trying to figure out how to restrict repo access for a contractor i have.

I have the main rails codebase and i also have a contractor that will be doing some css/ux type work for me.

I want to give the contractor the ability to check in code to git hub only to certain folders.

Ideally, i can have him checkin code and then it can be deployed out to the server so that he can see the changes.

I don’t think i can do this via limiting access within a specific git repo, but maybe there is a way to use two repo’s and restrict access that way.

Any help would be appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T11:39:16+00:00Added an answer on May 30, 2026 at 11:39 am

    If all of the css/ux files are within a particular subfolder, and you want him to have access to everything in that directory, and further down, you could do it with git submodules.

    The contractor would have push/pull rights to the repo that is a submodule, but no commit rights on the main repo.

    You could also just use the pull request feature and make sure that he only commits to the folder he wants.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using github as a repo for a little project, but I'd also like
I'm using Github, and realized they have a nice little api for accessing repo
Trying to access github using the following command fails with the verification failed error.
Using github like chain routes in rails I have URLs similar to this: 'localhost:3000/document_managers/[:module_name]'
I am not using github. We have git setup on our machine. I created
I'm trying to clone my personal fork on github using the git+ssh protocol with
I'm using clearance ( https://github.com/thoughtbot/clearance/wiki ) for authentication in my rails app. But I'm
I have been using git and github with my small team of developers for
Im super new with using GitHub.. I cloned in a repo at html/mycms (repo
I am using github to store my code. I have committed a code which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.