Hacker News new | ask | show | jobs
by robomartin 4920 days ago
> it’s not possible for us to differentiate between Team data and personal stuff in the same account.

I am really curious about this statement. Maybe you can explain a little further. I am thinking about something like this:

    git add .
    git commit -am "Account state prior to joining teams"
    
    git branch personal
    git branch team_x
    git branch team_y
    
    git checkout team_x
    git commit -am "Initial commit for team_x"
    git commit -am "Did some more work for team_x"
    
    git checkout team_y
    git commit -am "Initial commit for team_y"
    git commit -am "Did some more work for team_y"
    
    git checkout personal
    git commit -am "Added Dad folder for xmas pictures"
When someone leaves a team:

    git branch -D team_x
    git branch -D team_y
    
Obviously merging branches would not be allowed.

In other words, I am thinking that most of the heavy lifting required to manage the on-boarding and off-boarding of someone from teams, even multiple teams, is already done for your in the form of Git. Wrap it with some business-specific code and it could be really slick. Of course, that alone could be a six month project.

Anyhow, just seat-of-the-pants without much thought applied to it. Curious to hear your opinion.